{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-38717","published":"2025-09-04T16:15:41.257000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Modified","cvss":{"version":"3.1","score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-362"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.6","version_end_excluding":"6.12.43"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.15.11"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.16","version_end_excluding":"6.16.2"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.17"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":28,"links":{"html_es":"/es/cve/CVE-2025-38717/","html_en":"/en/cve/CVE-2025-38717/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-38717","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-38717"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"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":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/52565a935213cd6a8662ddb8efe5b4219343a25d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7275dc3bb8f91b23125ff3f47b6529935cf46152","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/798733ee5d5788b12e8a52db1519abc17e826f69","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308","tags":["Patch"]}]}}