CVE-2025-40005
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.9
and later are affected. Fixed in
5.15.209,
6.1.167,
6.6.125,
6.12.78,
6.16.10,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-40005 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/56787f4a75907ae99b5f5842b756fa68e2482f6d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/65ed52200080eafce3eead05cf22ce01238defca
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7446284023e8ef694fb392348185349c773eefb3
Frequently asked questions
-
What is CVE-2025-40005?
CVE-2025-40005 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.9 onward and has been patched in 5.15.209, 6.1.167, 6.6.125 and others. CVE-2025-40005 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-40005?
CVE-2025-40005 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-40005?
Yes — CVE-2025-40005 has been patched. Fixed versions include 5.15.209, 6.1.167, 6.6.125 and others. If you are running Linux kernel 5.9 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40005 actively exploited?
No — CVE-2025-40005 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.