Vulnerability 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().
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.6, < 6.12.43 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/52565a935213cd6a8662ddb8efe5b4219343a25dPatch
- https://git.kernel.org/stable/c/7275dc3bb8f91b23125ff3f47b6529935cf46152Patch
- https://git.kernel.org/stable/c/798733ee5d5788b12e8a52db1519abc17e826f69Patch
- https://git.kernel.org/stable/c/c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308Patch
FAQ
What is CVE-2025-38717?
CVE-2025-38717 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 exe...
How severe is CVE-2025-38717?
CVE-2025-38717 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-38717?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.