CVE-2025-38717net: kcm: Fix race condition in kcm_unattach()
- 7.8HighCVSS base score
- 0.12%Exploitation in 30 daysEPSS · top 98% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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().
Timeline
ID reserved
By Linux
- 5 months later
· 5 months later
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.12% · top 98% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 – < c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308
- affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 – < 7275dc3bb8f91b23125ff3f47b6529935cf46152
- affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 – < 798733ee5d5788b12e8a52db1519abc17e826f69
- affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 – < 52565a935213cd6a8662ddb8efe5b4219343a25d
- affected 4.6
- unaffected < 4.6
- unaffected 6.12.43 – ≤ 6.12.*
- unaffected 6.15.11 – ≤ 6.15.*
- unaffected 6.16.2 – ≤ 6.16.*
- unaffected 6.17 – ≤ *
References
References4
- https://git.kernel.org/stable/c/c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308 (opens in a new tab)
- https://git.kernel.org/stable/c/7275dc3bb8f91b23125ff3f47b6529935cf46152 (opens in a new tab)
- https://git.kernel.org/stable/c/798733ee5d5788b12e8a52db1519abc17e826f69 (opens in a new tab)
- https://git.kernel.org/stable/c/52565a935213cd6a8662ddb8efe5b4219343a25d (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-26752 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-38717)Record last updated .