VDB

CVE-2025-40005

CVE-2025-40005 PUBLISHED

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.

PackageEcosystemFixed in
linux_kernellinux6.16.10, 6.6.125
LinuxLinux8df235f768cea7a5829cb02525622646eb0df5f5, 8ce3ebbe5c718940b4e94f5c25f5720223f893f8, 7446284023e8ef694fb392348185349c773eefb3, 56787f4a75907ae99b5f5842b756fa68e2482f6d, 5.9

Risk scores

EPSS Score
0.20%
10.3th percentile

Affected products

VendorProductVersions
LinuxLinuxa314f6367787ee1d767df9a2120f17e4511144d0, a314f6367787ee1d767df9a2120f17e4511144d0, a314f6367787ee1d767df9a2120f17e4511144d0
LinuxLinux5.9, 0, 5.15.209
LinuxLinux5.15.209, 6.1.167, 6.12.78
chainguardlinux-azure-6.120
chainguardlinux-gcp-6.120
chainguardlinux-qemu-6.120
chainguardlinux-aws-6.120
chainguardlinux-vmware-6.120
linuxlinux_kernel5.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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›