{"schema_version":"1.7.5","id":"CVE-2025-38717","published":"2025-09-04T15:33:11.686Z","modified":"2026-07-15T01:48:54.909401107Z","related":["SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2026:20560-1","openSUSE-SU-2025:20081-1"],"summary":"net: kcm: Fix race condition in kcm_unattach()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: kcm: Fix race condition in kcm_unattach()\n\nsyzbot found a race condition when kcm_unattach(psock)\nand kcm_release(kcm) are executed at the same time.\n\nkcm_unattach() is missing a check of the flag\nkcm->tx_stopped before calling queue_work().\n\nIf the kcm has a reserved psock, kcm_unattach() might get executed\nbetween cancel_work_sync() and unreserve_psock() in kcm_release(),\nrequeuing kcm->tx_work right before kcm gets freed in kcm_done().\n\nRemove kcm->tx_stopped and replace it by the less\nerror-prone disable_work_sync().","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ab7ac4eb9832e32a09f4e8042705484d2fb0aad3"},{"fixed":"c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308"},{"fixed":"7275dc3bb8f91b23125ff3f47b6529935cf46152"},{"fixed":"798733ee5d5788b12e8a52db1519abc17e826f69"},{"fixed":"52565a935213cd6a8662ddb8efe5b4219343a25d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38717.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.6.0"},{"fixed":"6.12.43"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.15.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.16.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38717.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/52565a935213cd6a8662ddb8efe5b4219343a25d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7275dc3bb8f91b23125ff3f47b6529935cf46152"},{"type":"WEB","url":"https://git.kernel.org/stable/c/798733ee5d5788b12e8a52db1519abc17e826f69"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38717.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38717"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38717.json"}}