Skip to main content

Linux CVE-2025-40005

MEDIUM
2025-10-20 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Impact

This vulnerability presents a low real-world risk despite a moderate CVSS 3.1 score of 5.5. The CVSS vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicates local attack vector requiring low privilege (root/administrative access), low complexity, no user interaction, and impact limited to availability (denial of service only). The EPSS score of 0.01% at the 3rd percentile represents extremely low exploitation likelihood, suggesting this is primarily a stability concern rather than an active threat. No KEV confirmation or publicly available exploit code is identified. The vulnerability requires deliberate administrative action (forced unbind) during active SPI operations, making accidental or malicious exploitation unlikely in production environments. Patch availability from vendor significantly mitigates real-world risk. The signal interpretation: high CVSS combined with extremely low EPSS and high privilege requirement indicates this should be prioritized lower than other kernel vulnerabilities, though patching during routine maintenance is still recommended.

Exploit ScenarioDerived

A root user or system administrator with direct kernel module management privileges could forcibly unbind the cadence-quadspi driver from a device while an indirect SPI read or write operation is in progress (for example, during firmware update or EEPROM operations). Without proper reference counting and graceful shutdown mechanisms, the kernel would attempt to deallocate driver structures while the SPI transaction handler is still executing, resulting in a kernel panic or crash and causing denial of service. This requires intentional administrative action rather than remote or unprivileged exploitation, making it primarily a stability concern rather than a direct security threat. No public exploit code or active exploitation is documented.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 25, 2026

Kernel crash in Linux kernel Cadence QSPI driver (cadence-quadspi) allows authenticated local attackers with moderate privileges to cause denial of service by unbinding the driver during active indirect read or write operations. The vulnerability affects Linux kernel versions including 6.17-rc1 through rc4 and potentially earlier versions; exploitation requires root access to force device removal, but the EPSS score of 0.01% indicates minimal real-world exploitation probability despite the availability of upstream fixes in stable kernel branches.

RemediationAI

Apply upstream kernel patches available from the Linux kernel stable repository. The fix is available via commits 56787f4a75907ae99b5f5842b756fa68e2482f6d and 65ed52200080eafce3eead05cf22ce01238defca (https://git.kernel.org/stable/c/56787f4a75907ae99b5f5842b756fa68e2482f6d and https://git.kernel.org/stable/c/65ed52200080eafce3eead05cf22ce01238defca), with additional related patches available at the commit hashes provided in the patch references. Update to a Linux kernel version released after the 6.17-rc4 timeframe that includes the reference counting implementation for the cadence-quadspi driver. For distributions on unpatched 6.17-rc kernels or earlier versions, either upgrade to a patched stable release or apply the referenced commits via backport. No workarounds are practical for production systems other than avoiding forcible driver unbind operations during active SPI transactions (operationally difficult to enforce without patching).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel Cadence QSPI driver (cadence-quadspi) manages Serial Peripheral Interface (SPI) flash memory operations using indirect read and write mechanisms. The vulnerability exists because the driver does not implement proper reference counting to track attached devices and gracefully handle unbind operations while indirect SPI transactions are in progress. When a privileged user forcibly unbinds the driver during an active operation, the kernel attempts to clean up driver state without waiting for pending operations to complete, leading to use-after-free or NULL pointer dereference conditions. The affected products are identified via CPE specifications for Linux kernel across multiple versions, with explicit confirmation of Linux kernel 6.17-rc1, rc2, rc3, and rc4. The root cause relates to improper device lifecycle management rather than a specific weakness classification (CWE not specified in advisory data).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.2 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Mar 25, 2026 - 11:22 nvd
Patch available
CVE Published
Oct 20, 2025 - 16:15 nvd
MEDIUM 5.5

DescriptionNVD

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.

Executive ViewAI

Why It Matters

CVE-2025-40005 presents moderate security risk rated CVSS 5.5. Exploitation could compromise the security of affected deployments. A patch is available and should be applied during regular vulnerability management.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:2.1.3-3.64 Container suse/sl-micro/6.0/toolbox:13.2-6.19 Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.65 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.88 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.105 Affected
Container suse/sl-micro/6.1/base-os-container:2.2.1-5.52 Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Affected

References

Advisories & patches
PATCH https://git.kernel.org/stable/c/7446284023e8ef694fb392348185349c773eefb3 PATCH https://git.kernel.org/stable/c/8df235f768cea7a5829cb02525622646eb0df5f5 PATCH https://git.kernel.org/stable/c/b7ec8a2b094a33d0464958c2cbf75b8f229098b0 ADVISORY https://ubuntu.com/security/notices/USN-8492-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21040/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21052/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21056/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21064/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21080/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21147/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21180/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4057/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4128/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4132/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4140/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4141/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4301/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20317/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20333/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20561/ REF https://git.kernel.org/stable/c/56787f4a75907ae99b5f5842b756fa68e2482f6d REF https://git.kernel.org/stable/c/65ed52200080eafce3eead05cf22ce01238defca REF https://git.kernel.org/stable/c/8ce3ebbe5c718940b4e94f5c25f5720223f893f8

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy