Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a314f6367787ee1d767df9a2120f17e4511144d0 to < 8ce3ebbe5c718940b4e94f5c25f5720223f893f8affected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to < 56787f4a75907ae99b5f5842b756fa68e2482f6daffected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to < 8df235f768cea7a5829cb02525622646eb0df5f5affected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to < 65ed52200080eafce3eead05cf22ce01238defcaaffected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to < b7ec8a2b094a33d0464958c2cbf75b8f229098b0affected
  • a314f6367787ee1d767df9a2120f17e4511144d0 to < 7446284023e8ef694fb392348185349c773eefb3affected

Linux Linux

Default version status: affected

  • 5.9affected
  • 0 to < 5.9unaffected
  • 5.15.209 to ≤ 5.15.*unaffected
  • 6.1.167 to ≤ 6.1.*unaffected
  • 6.6.125 to ≤ 6.6.*unaffected
  • 6.12.78 to ≤ 6.12.*unaffected
  • 6.16.10 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References