Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-40001— scsi: mvsas: Fix use-after-free bugs in mvs_work_queue

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于mvs_work_queue中未正确取消延迟工作项,可能导致释放后重用。

AI Predicted 7.8 Difficulty: Hard EPSS 0.26% · P17

Possible ATT&CK Techniques 1 AI

T1211 · Exploitation for Stealth

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 20b09c2992fefbe78f8cede7b404fb143a413c52< a6f68f219d4d4b92d7c781708d4afc4cc42961ec affected
20b09c2992fefbe78f8cede7b404fb143a413c52< aacd1777d4a795c387a20b9ca776e2c1225d05d7 affected
20b09c2992fefbe78f8cede7b404fb143a413c52< 6ba7e73cafd155a5d3abf560d315f0bab2b9d89f affected
20b09c2992fefbe78f8cede7b404fb143a413c52< c2c35cb2a31844f84f21ab364b38b4309d756d42 affected
20b09c2992fefbe78f8cede7b404fb143a413c52< 3c90f583d679c81a5a607a6ae0051251b6dee35b affected
20b09c2992fefbe78f8cede7b404fb143a413c52< 00d3af40b158ebf7c7db2b3bbb1598a54bf28127 affected
20b09c2992fefbe78f8cede7b404fb143a413c52< feb946d2fc9dc754bf3d594d42cd228860ff8647 affected
20b09c2992fefbe78f8cede7b404fb143a413c52< 60cd16a3b7439ccb699d0bf533799eeb894fd217 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-40001

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
scsi: mvsas: Fix use-after-free bugs in mvs_work_queue
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: scsi: mvsas: Fix use-after-free bugs in mvs_work_queue During the detaching of Marvell's SAS/SATA controller, the original code calls cancel_delayed_work() in mvs_free() to cancel the delayed work item mwq->work_q. However, if mwq->work_q is already running, the cancel_delayed_work() may fail to cancel it. This can lead to use-after-free scenarios where mvs_free() frees the mvs_info while mvs_work_queue() is still executing and attempts to access the already-freed mvs_info. A typical race condition is illustrated below: CPU 0 (remove) | CPU 1 (delayed work callback) mvs_pci_remove() | mvs_free() | mvs_work_queue() cancel_delayed_work() | kfree(mvi) | | mvi-> // UAF Replace cancel_delayed_work() with cancel_delayed_work_sync() to ensure that the delayed work item is properly canceled and any executing delayed work item completes before the mvs_info is deallocated. This bug was found by static analysis.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于mvs_work_queue中未正确取消延迟工作项,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 20b09c2992fefbe78f8cede7b404fb143a413c52 ~ a6f68f219d4d4b92d7c781708d4afc4cc42961ec -
Linux Linux 2.6.31 -

II. Public POCs for CVE-2025-40001

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-40001

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-40001 (4)

Same Patch Batch · Linux · 2025-10-18 · 3 CVEs total

CVE-2025-40003 net: mscc: ocelot: Fix use-after-free caused by cyclic delayed work
CVE-2025-40002 thunderbolt: Fix use-after-free in tb_dp_dprx_work

IV. Related Vulnerabilities

V. Comments for CVE-2025-40001

No comments yet


Leave a comment