{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40001","published":"2025-10-18T08:15:34.130000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2025-40001/","html_en":"/en/cve/CVE-2025-40001/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40001","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40001"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mvsas: Fix use-after-free bugs in mvs_work_queue\n\nDuring the detaching of Marvell's SAS/SATA controller, the original code\ncalls cancel_delayed_work() in mvs_free() to cancel the delayed work\nitem mwq->work_q. However, if mwq->work_q is already running, the\ncancel_delayed_work() may fail to cancel it. This can lead to\nuse-after-free scenarios where mvs_free() frees the mvs_info while\nmvs_work_queue() is still executing and attempts to access the\nalready-freed mvs_info.\n\nA typical race condition is illustrated below:\n\nCPU 0 (remove)            | CPU 1 (delayed work callback)\nmvs_pci_remove()          |\n  mvs_free()              | mvs_work_queue()\n    cancel_delayed_work() |\n      kfree(mvi)          |\n                          |   mvi-> // UAF\n\nReplace cancel_delayed_work() with cancel_delayed_work_sync() to ensure\nthat the delayed work item is properly canceled and any executing\ndelayed work item completes before the mvs_info is deallocated.\n\nThis bug was found by static analysis.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/00d3af40b158ebf7c7db2b3bbb1598a54bf28127","tags":[]},{"url":"https://git.kernel.org/stable/c/3c90f583d679c81a5a607a6ae0051251b6dee35b","tags":[]},{"url":"https://git.kernel.org/stable/c/60cd16a3b7439ccb699d0bf533799eeb894fd217","tags":[]},{"url":"https://git.kernel.org/stable/c/6ba7e73cafd155a5d3abf560d315f0bab2b9d89f","tags":[]},{"url":"https://git.kernel.org/stable/c/a6f68f219d4d4b92d7c781708d4afc4cc42961ec","tags":[]},{"url":"https://git.kernel.org/stable/c/aacd1777d4a795c387a20b9ca776e2c1225d05d7","tags":[]},{"url":"https://git.kernel.org/stable/c/c2c35cb2a31844f84f21ab364b38b4309d756d42","tags":[]},{"url":"https://git.kernel.org/stable/c/feb946d2fc9dc754bf3d594d42cd228860ff8647","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10301-1","url":"https://www.suse.com/support/update/","published":"2026-03-07T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-longterm-6.18.16-1.1 on GA media"}},{"source":"suse","id":"SUSE-SU-2026:20473-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620473-1/","published":"2026-02-19T16:55:02+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:20496-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620496-1/","published":"2026-02-19T15:57:41+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}