CVE-2025-38717: Linux Kernel
Medium severity, CVSS 4.7. EPSS: 0.1% chance of exploitation in the next 30 days.
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().
Affected products
- Linux Linux Kernel: from 4.6, before 6.12.43 (fixed in 6.12.43); from 6.13, before 6.15.11 (fixed in 6.15.11); from 6.16, before 6.16.2 (fixed in 6.16.2); version 6.17 only
Published 2025-09-04. Last modified 2026-07-30.