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

Deferred
AliasesUBUNTU-CVE-2025-40001DEBIAN-CVE-2025-40001
Published 18-10-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-40001 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.3% of scored vulnerabilities.

Priority
Insufficient evidence

No CVSS vector published; no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
Not scored
010
No CVSS score recorded
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 50 · Related 47

Timeline

  1. 18-10-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

Risk metrics not yet published.

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.26% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: not stated in public data.

Ubuntu153 products
  • linuxAll versions (No fix recorded) | < 5.15.0-170.180 | < 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1100.107 | < 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.158-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
  • linux≥ 20b09c2992fefbe78f8cede7b404fb143a413c52, < a6f68f219d4d4b92d7c781708d4afc4cc42961ec | ≥ 20b09c2992fefbe78f8cede7b404fb143a413c52, < aacd1777d4a795c387a20b9ca776e2c1225d05d7 | ≥ 20b09c2992fefbe78f8cede7b404fb143a413c52, < 6ba7e73cafd155a5d3abf560d315f0bab2b9d89f | ≥ 20b09c2992fefbe78f8cede7b404fb143a413c52, < c2c35cb2a31844f84f21ab364b38b4309d756d42 | ≥ 20b09c2992fefbe78f8cede7b404fb143a413c52, < 3c90f583d679c81a5a607a6ae0051251b6dee35b | ≥ 20b09c2992fefbe78f8cede7b404fb143a413c52, < 00d3af40b158ebf7c7db2b3bbb1598a54bf28127 | ≥ 20b09c2992fefbe78f8cede7b404fb143a413c52, < feb946d2fc9dc754bf3d594d42cd228860ff8647 | ≥ 20b09c2992fefbe78f8cede7b404fb143a413c52, < 60cd16a3b7439ccb699d0bf533799eeb894fd217 | 2.6.31

3 vendors · 155 products

References

42 links
Show all 42 references