CVE-2025-38717
Severity CVSS v4.0:
Pending analysis
Type:
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Publication date:
04/09/2025
Last modified:
25/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: kcm: Fix race condition in kcm_unattach()<br />
<br />
syzbot found a race condition when kcm_unattach(psock)<br />
and kcm_release(kcm) are executed at the same time.<br />
<br />
kcm_unattach() is missing a check of the flag<br />
kcm->tx_stopped before calling queue_work().<br />
<br />
If the kcm has a reserved psock, kcm_unattach() might get executed<br />
between cancel_work_sync() and unreserve_psock() in kcm_release(),<br />
requeuing kcm->tx_work right before kcm gets freed in kcm_done().<br />
<br />
Remove kcm->tx_stopped and replace it by the less<br />
error-prone disable_work_sync().
Impact
Base Score 3.x
4.70
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.6 (including) | 6.12.43 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.15.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.16 (including) | 6.16.2 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



