CVE-2025-40005: spi: cadence-quadspi: Implement refcount to handle unbind during busy
Vulnerability summary
CVE-2025-40005 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.7% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 40 · Related 41Timeline
- 20-10-2025PublishedVulnerability first disclosed.
- 01-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.20% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu148 products
- linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-134.134
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1060.63
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
- linux-aws-6.12< 6.12.77-r2 | < 6.12.77-r1 | < 6.12.80-r0 | < 6.12.77-r0 | < 6.12.76-r0 | < 6.12.74-r1 | < 6.12.78-r0
- linux-azure-6.12< 6.12.74-r1 | < 6.12.77-r2 | < 6.12.77-r1 | < 6.12.76-r0 | < 6.12.77-r0 | < 6.12.78-r0 | < 6.12.80-r0
- linux-gcp-6.12< 6.12.77-r1 | < 6.12.78-r0 | < 6.12.77-r0 | < 6.12.74-r1 | < 6.12.76-r0 | < 6.12.77-r2 | < 6.12.80-r0
- linux-qemu-6.12< 6.12.77-r1 | < 6.12.77-r0 | < 6.12.74-r1 | < 6.12.77-r2 | < 6.12.76-r0 | < 6.12.78-r0 | < 6.12.80-r0
- linux-vmware-6.12< 6.12.74-r1 | < 6.12.76-r0 | < 6.12.78-r0 | < 6.12.77-r0 | < 6.12.77-r1 | < 6.12.77-r2 | < 6.12.80-r0
Linux2 products
- linux≥ a314f6367787ee1d767df9a2120f17e4511144d0, < 8ce3ebbe5c718940b4e94f5c25f5720223f893f8 | ≥ a314f6367787ee1d767df9a2120f17e4511144d0, < 56787f4a75907ae99b5f5842b756fa68e2482f6d | ≥ a314f6367787ee1d767df9a2120f17e4511144d0, < 8df235f768cea7a5829cb02525622646eb0df5f5 | ≥ a314f6367787ee1d767df9a2120f17e4511144d0, < 65ed52200080eafce3eead05cf22ce01238defca | ≥ a314f6367787ee1d767df9a2120f17e4511144d0, < b7ec8a2b094a33d0464958c2cbf75b8f229098b0 | ≥ a314f6367787ee1d767df9a2120f17e4511144d0, < 7446284023e8ef694fb392348185349c773eefb3 | 5.9
- linux_kernel≥ 5.9, < 6.6.125 | ≥ 6.7, < 6.16.10 | 6.17:rc1 | 6.17:rc2 | 6.17:rc3 | 6.17:rc4
Debian1 product
- linux< 6.1.170-1 | < 6.12.85-1 | < 6.16.10-1
4 vendors · 156 products