CVE-2025-40005

Medium

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.

Package Linux Kernel
Published 2025-10-20
Last modified 2026-06-01
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
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.

Affected from
≥ 5.9
Fixed in
✓ 5.15.209 5.15.x ✓ 6.1.167 6.1.x ✓ 6.6.125 6.6.x ✓ 6.12.78 6.12.x ✓ 6.16.10 6.16.x ✓ 6.17

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.

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.