CVE-2025-40005 Details
Description
In the Linux kernel, the following vulnerability has been resolved: spi: cadence-quadspi: Implement refcount to handle unbind during busy driver support indirect read and indirect write operation with assumption no force device removal(unbind) operation. However force device removal(removal) is still available to root superuser. Unbinding driver during operation causes kernel crash. This changes ensure driver able to handle such operation for indirect read and indirect write by implementing refcount to track attached devices to the controller and gracefully wait and until attached devices remove operation completed before proceed with removal operation.
A vulnerability in the Linux kernel's Cadence QSPI driver can lead to a kernel crash when the driver is unbound during active indirect read or write operations. This issue arises because the driver does not properly manage the removal of devices while busy, especially when forced removal is initiated by a root superuser. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by implementing a reference counting mechanism in the Cadence QSPI driver. This change allows the driver to manage device removal more gracefully, ensuring that all ongoing operations are completed before the device is unbound. Users should update to the latest version of the Linux kernel where this fix has been applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.9, < 6.6.125 >= 6.7, < 6.16.10 6.17 rc1 6.17 rc2 6.17 rc3 6.17 rc4 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 1, 2026 | CVE Modified | kernel.org |
| Mar 25, 2026 | CVE Modified | kernel.org |
| Feb 26, 2026 | Initial Analysis | [email protected] |
| Feb 16, 2026 | CVE Modified | kernel.org |
| Oct 20, 2025 | New CVE Received | kernel.org |