CVE-2025-40005

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

MEDIUM
5.5
CVSS Score
Published: October 20, 2025 at 03:26 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.9 ≤ v < 6.6.1256.7 ≤ v < 6.16.106.176.17 rc16.17 rc26.17 rc36.17 rc4a314f6367787ee1d767df9a2120f17e4511144d0
Vendor states this is fixed in 56787f4a75907ae99b5f5842b756fa68e2482f6d (fixed)
Vendor states this is fixed in 65ed52200080eafce3eead05cf22ce01238defca (fixed)
Vendor states this is fixed in 7446284023e8ef694fb392348185349c773eefb3 (fixed)
Vendor states this is fixed in 8ce3ebbe5c718940b4e94f5c25f5720223f893f8 (fixed)
Vendor states this is fixed in 8df235f768cea7a5829cb02525622646eb0df5f5 (fixed)
Vendor states this is fixed in b7ec8a2b094a33d0464958c2cbf75b8f229098b0 (fixed)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.1.167 (unaffected)
Vendor states this is fixed in 6.12.78 (unaffected)
Vendor states this is fixed in 6.16.10 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.125 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card