CVE-2025-38717
Last modified
CVE-2025-38717 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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().. EPSS estimates a 0.10% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.6, < 6.12.43 | — |
| Linux | Linux Kernel | >= 6.13, < 6.15.11 | — |
| Linux | Linux Kernel | >= 6.16, < 6.16.2 | — |
| Linux | Linux Kernel | 6.17 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38717?
How severe is CVE-2025-38717?
How do I fix CVE-2025-38717?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38711In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38712In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38713In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38714In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38715In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38716In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38718In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38719In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3872Improper Neutralization of Special Elements used in an SQL C…7.2
- CVE-2025-38720In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38721In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38722In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-38717?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
