CVE-2025-40005

MEDIUM EPSS 7.9%
Published Oct 20, 20258mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Oct 20, 2025 8mo ago
Last Modified Jun 17, 2026 1w ago

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 Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
7.9% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Affected Products 6

VendorProductVersionRange
linuxlinux_kernel*≥5.9  –  <6.6.125
linuxlinux_kernel*≥6.7  –  <6.16.10
linuxlinux_kernel6.17any
linuxlinux_kernel6.17any
linuxlinux_kernel6.17any
linuxlinux_kernel6.17any

References 6

  • git.kernel.org https://git.kernel.org/stable/c/56787f4a75907ae99b5f5842b756fa68e2482f6d
  • git.kernel.org https://git.kernel.org/stable/c/65ed52200080eafce3eead05cf22ce01238defca
  • git.kernel.org https://git.kernel.org/stable/c/7446284023e8ef694fb392348185349c773eefb3
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/8ce3ebbe5c718940b4e94f5c25f5720223f893f8
  • git.kernel.org https://git.kernel.org/stable/c/8df235f768cea7a5829cb02525622646eb0df5f5
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b7ec8a2b094a33d0464958c2cbf75b8f229098b0
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/7446284023e8ef694fb392348185349c773eefb3
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/8df235f768cea7a5829cb02525622646eb0df5f5
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b7ec8a2b094a33d0464958c2cbf75b8f229098b0
    Patch