CVE-2025-40005
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom a314f6367787ee1d767df9a2120f17e4511144d0 before 8ce3ebbe5c718940b4e94f5c25f5720223f893f8, from a314f6367787ee1d767df9a2120f17e4511144d0 before 56787f4a75907ae99b5f5842b756fa68e2482f6d, from a314f6367787ee1d767df9a2120f17e4511144d0 before 8df235f768cea7a5829cb02525622646eb0df5f5, from a314f6367787ee1d767df9a2120f17e4511144d0 before 65ed52200080eafce3eead05cf22ce01238defca, from a314f6367787ee1d767df9a2120f17e4511144d0 before b7ec8a2b094a33d0464958c2cbf75b8f229098b0, from a314f6367787ee1d767df9a2120f17e4511144d0 before 7446284023e8ef694fb392348185349c773eefb3, 5.9
Not affected: before 5.9, from 5.15.209 up to 5.15.*, from 6.1.167 up to 6.1.*, from 6.6.125 up to 6.6.*, from 6.12.78 up to 6.12.*, from 6.16.10 up to 6.16.*
CVE List
linux linux_kernelfrom 5.9 before 6.6.125, from 6.7 before 6.16.10, 6.17NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: spi: cadence-quadspi: Implementar refcount para manejar la desvinculación durante la ocupación El controlador soporta operación de lectura indirecta y escritura indirecta con la suposición de que no hay operación de eliminación forzada de dispositivo (desvinculación). Sin embargo, la eliminación forzada de dispositivo (eliminación) todavía está disponible para el superusuario root. Desvincular el controlador durante la operación causa un fallo del kernel. Estos cambios aseguran que el controlador sea capaz de manejar dicha operación para lectura indirecta y escritura indirecta mediante la implementación de refcount para rastrear los dispositivos conectados al controlador y esperar de forma elegante hasta que la operación de eliminación de los dispositivos conectados se complete antes de proceder con la operación de eliminación.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40005 changed 2026-06-01CVE Terms of Use
NVDCVE-2025-40005 changed 2026-10-19Public domain