CVE-2025-40005: Linux Cadence QSPI Driver Unbind Race Denial of Service
- Vendor
- Linux
CVE-2025-40005 is a race condition in the Linux kernel Cadence QuadSPI SPI controller driver. The driver supported indirect read and indirect write operations without coordinating controller removal with devices actively attached to the controller. A forced driver unbind while either operation is in progress can cause the kernel to access removal-affected state and crash. The fix adds reference counting for attached devices and makes controller removal wait for attached-device removal activity to complete before proceeding.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A successful trigger causes a kernel crash, resulting in a local denial of service. The available information does not establish arbitrary code execution, information disclosure, or privilege escalation for this specific flaw.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to driver unbind and forced device-removal interfaces to trusted administrators. Do not unbind or remove the Cadence QuadSPI driver while indirect read or write operations are active, and use operational controls to prevent device removal during active controller I/O.
Remediation
Patch, then assume compromise.
Upgrade to a Linux kernel version supplied by the relevant vendor that includes the Cadence QuadSPI reference-counting fix for CVE-2025-40005. Reboot into the updated kernel after installation.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-40005 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-40005 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-40005?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2025-40005.
- Is there a patch for CVE-2025-40005?
- Upgrade to a Linux kernel version supplied by the relevant vendor that includes the Cadence QuadSPI reference-counting fix for CVE-2025-40005. Reboot into the updated kernel after installation.
- What products are affected by CVE-2025-40005?
- Linux Kernel.
- How severe is CVE-2025-40005?
- CVE-2025-40005 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.20% (10th percentile) as of Sep 25, 2026.
Recent activity
18 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.