CVE-2025-38717CWE-362

CVE-2025-38717

High · published September 4, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
1.6
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00117 · 1.6th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2025-09-04T20:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 4.6, < 6.12.436.12.43
linux/linux_kernel≥ 6.13, < 6.15.116.15.11
linux/linux_kernel≥ 6.16, < 6.16.26.16.2
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 04 SEP 15:33Z
    net: kcm: Fix race condition in kcm_unattach()
    cvelistv5