CVE-2025-40005

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

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a314f6367787ee1d767df9a2120f17e4511144d0 < 8ce3ebbe5c718940b4e94f5c25f5720223f893f8 ; affected a314f6367787ee1d767df9a2120f17e4511144d0 < 56787f4a75907ae99b5f5842b756fa68e2482f6d ; affected a314f6367787ee1d767df9a2120f17e4511144d0 < 8df235f768cea7a5829cb02525622646eb0df5f5 ; affected a314f6367787ee1d767df9a2120f17e4511144d0 < 65ed52200080eafce3eead05cf22ce01238defca ; affected a314f6367787ee1d767df9a2120f17e4511144d0 < b7ec8a2b094a33d0464958c2cbf75b8f229098b0 ; affected a314f6367787ee1d767df9a2120f17e4511144d0 < 7446284023e8ef694fb392348185349c773eefb3
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.125 ≤ 6.6.* ; unaffected 6.12.78 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD