PoC Monitor
← All CVEs
CVE-2025-38717published 4 Sep 2025 15:33 UTCData: JSON · API

Linux

net: kcm: Fix race condition in kcm_unattach()

In the Linux kernel, the following vulnerability has been resolved: net: kcm: Fix race condition in kcm_unattach() syzbot found a race condition when kcm_unattach(psock) and kcm_release(kcm) are executed at the same time. kcm_unattach() is missing a check of the flag kcm->tx_stopped before calling queue_work(). If the kcm has a reserved psock, kcm_unattach() might get executed between cancel_work_sync() and unreserve_psock() in kcm_release(), requeuing kcm->tx_work right before kcm gets freed in kcm_done(). Remove kcm->tx_stopped and replace it by the less error-prone disable_work_sync().

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-362
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308
  • >= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 7275dc3bb8f91b23125ff3f47b6529935cf46152
  • >= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 798733ee5d5788b12e8a52db1519abc17e826f69
  • >= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 52565a935213cd6a8662ddb8efe5b4219343a25d

Fixed in c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308, 7275dc3bb8f91b23125ff3f47b6529935cf46152, 798733ee5d5788b12e8a52db1519abc17e826f69, 52565a935213cd6a8662ddb8efe5b4219343a25d

Linux Linux
  • 4.6

Fixed in 0, 6.12.43, 6.15.11, 6.16.2, 6.17

Mitigation

Upgrade Linux to c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308 or 7275dc3bb8f91b23125ff3f47b6529935cf46152 or 798733ee5d5788b12e8a52db1519abc17e826f69 or 52565a935213cd6a8662ddb8efe5b4219343a25d or later.

Upgrade Linux to 0 or 6.12.43 or 6.15.11 or 6.16.2 or 6.17 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published4 Sep 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.