What’s Vulnerable › Vulnerabilities

CVE-2025-40005: spi: cadence-quadspi: Implement refcount to handle unbind during busy

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.16.10, 6.6.125. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-40005 or the next vulnerability affects your stack