CVE-2025-40005
spi: cadence-quadspi: Implement refcount to handle unbind during busy
Reported by linux · Published October 20, 2025
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.
EPSS 0.20% · 10.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.16.10, 6.6.125 |
| Linux | Linux | 8df235f768cea7a5829cb02525622646eb0df5f5, 8ce3ebbe5c718940b4e94f5c25f5720223f893f8, 7446284023e8ef694fb392348185349c773eefb3, 56787f4a75907ae99b5f5842b756fa68e2482f6d, 5.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a314f6367787ee1d767df9a2120f17e4511144d0, a314f6367787ee1d767df9a2120f17e4511144d0, a314f6367787ee1d767df9a2120f17e4511144d0 |
| Linux | Linux | 5.9, 0, 5.15.209 |
| Linux | Linux | 5.15.209, 6.1.167, 6.12.78 |
| chainguard | linux-azure-6.12 | 0 |
| chainguard | linux-gcp-6.12 | 0 |
| chainguard | linux-qemu-6.12 | 0 |
| chainguard | linux-aws-6.12 | 0 |
| chainguard | linux-vmware-6.12 | 0 |
| linux | linux_kernel | 5.9, 5.9, 5.9 |
Timeline
- Oct 12, 2025 PoC Published (5 in total, the first dated here)
- Oct 20, 2025 Coalition ESS Score (5 in total, the first dated here)
- Oct 20, 2025 CVE Published
- Oct 21, 2025 EPSS Score (30 in total, the first dated here)
- Dec 15, 2025 Security Advisory (55 in total, the first dated here)
- Sep 25, 2026 Distribution Patch (47 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40005
vulnetix vdb fixes CVE-2025-40005
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40005/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart