CVE-2025-40005

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

State
Published
Severity
Not scored
Published
Oct 20, 2025
Updated
Jun 1, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a314f6367787ee1d767df9a2120f17e4511144d0 to before 8ce3ebbe5c718940b4e94f5c25f5720223f893f8Affected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to before 56787f4a75907ae99b5f5842b756fa68e2482f6dAffected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to before 8df235f768cea7a5829cb02525622646eb0df5f5Affected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to before 65ed52200080eafce3eead05cf22ce01238defcaAffected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to before b7ec8a2b094a33d0464958c2cbf75b8f229098b0Affected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to before 7446284023e8ef694fb392348185349c773eefb3Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.125 through 6.6.*Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.16.10 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.