CVE-2025-38717Race Condition in Linux

CWE-362Race Condition6 documents6 sources
Severity
4.7MEDIUMNVD
EPSS
0.0%
top 97.60%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 4
Latest updateSep 9

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 free

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.0 | Impact: 3.6

Patches

🔴Vulnerability Details

2
GHSA
GHSA-998f-8276-5gr2: In the Linux kernel, the following vulnerability has been resolved: net: kcm: Fix race condition in kcm_unattach() syzbot found a race condition whe2025-09-05
OSV
CVE-2025-38717: In the Linux kernel, the following vulnerability has been resolved: net: kcm: Fix race condition in kcm_unattach() syzbot found a race condition when2025-09-04

📋Vendor Advisories

3
Microsoft
net: kcm: Fix race condition in kcm_unattach()2025-09-09
Red Hat
kernel: net: kcm: Fix race condition in kcm_unattach()2025-09-04
Debian
CVE-2025-38717: linux - In the Linux kernel, the following vulnerability has been resolved: net: kcm: F...2025