{"id":"CVE-2025-38717","published":"2025-09-04T15:33:11Z","modified":"2026-08-05T12:04:14Z","title":"net: kcm: Fix race condition in kcm_unattach()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0019,"percentile":0.04981,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308","tags":[]},{"url":"https://git.kernel.org/stable/c/7275dc3bb8f91b23125ff3f47b6529935cf46152","tags":[]},{"url":"https://git.kernel.org/stable/c/798733ee5d5788b12e8a52db1519abc17e826f69","tags":[]},{"url":"https://git.kernel.org/stable/c/52565a935213cd6a8662ddb8efe5b4219343a25d","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.0},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308",">= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 7275dc3bb8f91b23125ff3f47b6529935cf46152",">= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 798733ee5d5788b12e8a52db1519abc17e826f69",">= ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 52565a935213cd6a8662ddb8efe5b4219343a25d"]},{"vendor":"Linux","product":"Linux","versions":["4.6"]}],"euvd":{"id":"EUVD-2025-26752","exploited":false,"provenance":"source"}}