Skip to main content

Linux Kernel CVE-2025-40342

HIGH
2025-12-09 416baaa9-dc9f-4396-8d5f-8c081fb06d67
8.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent FC fabric position
  2. Delivery
    Induce remote-port teardown/link flap
  3. Exploit
    Race unlocked port_state check during reconnect
  4. Execution
    Trigger use-after-free on rport
  5. Impact
    Kernel crash or memory corruption

Vulnerability Assessment

Exploitation Conditions

Requires an active NVMe over Fibre Channel deployment: the host must have the nvme-fc driver loaded and be connected to at least one NVMe-oF target over an FC fabric. The race is triggered only when remote-port unregistration (nvme_fc_unregister_remote, occurring when there is no active association) interleaves with the reconnect path (nvme_fc_create_association) - so exploitation depends on generating concurrent port teardown and reconnect events, typically via FC fabric state changes. Limiting factors: the vulnerable code is exercised only on systems using NVMe-FC (a niche enterprise storage configuration), the attacker must influence FC-level connection events (adjacent fabric position, per the AV:A vector), and success requires winning a narrow timing window, making reliable exploitation difficult.

Impact

The signals here conflict and warrant scrutiny. The assigned CVSS 3.1 vector (AV:A/AC:L/PR:N/UI:N/C:H/I:H/A:H, base 8.8) rates this as adjacent-network, low-complexity, unauthenticated with full CIA impact - but this is almost certainly the auto-generated kernel-CNA score and is not consistent with the described defect: a lock-ordering race in the FC transport requires an operational NVMe-FC deployment and precise timing (inherently high attack complexity), not trivial low-complexity triggering. EPSS is low (0.21%, 11th percentile), there is no KEV listing and no known POC, which aligns with a bug that is hard to weaponize and confined to specialized storage hosts. Realistically this is a stability/DoS issue for enterprise SAN systems rather than a broadly exploitable RCE, and the 8.8 rating overstates practical remote risk. Verify with the CVSS mismatch noted: the vector claims AC:L/PR:N but the description implies a timing-sensitive race dependent on FC fabric events.

Exploit ScenarioDerived

On an enterprise host connected to an NVMe-over-Fibre Channel target, an attacker or a misbehaving/malicious FC peer induces rapid remote-port teardown (e.g., link flaps or target removal) while the host is attempting to (re)establish an association. The unlocked state check and refcount increment race against the unregister path, corrupting the rport object and crashing the kernel or corrupting memory. No public POC is known, and success depends on winning a tight timing window on live FC storage hardware.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 30, 2026

Denial of service and potential memory corruption in the Linux kernel's NVMe over Fibre Channel (nvme-fc) transport arises because nvme_fc_create_association reads the remote port_state and increments the rport active count without holding a lock, racing against nvme_fc_unregister_remote which can free the remote port when no active association exists. An attacker or fault condition on the FC fabric able to trigger reconnect events concurrently with port teardown can drive a use-after-free style condition on the rport object. There is no public exploit identified at time of analysis and this is not listed in CISA KEV; EPSS is low at 0.21% (11th percentile).

RemediationAI

Upstream fix available (multiple stable-tree commits); a single released patched version is not specified in the input, so update to your distribution's kernel that incorporates the corresponding backport - cross-reference the commits at https://git.kernel.org/stable/c/e8cde03de8674b05f2c5e0870729049eba517800 (and the six sibling commits 25f4bf1f, 4253e0a4, 891cdbb1, 9950af43, a2f7fa75, de3d91af) to identify the minimum fixed point for your series. Where immediate patching of production SAN hosts is not possible, reduce exposure by avoiding conditions that trigger frequent remote-port register/unregister churn concurrent with reconnects - for example minimize fabric flapping, stabilize FC connectivity, and schedule reconnect-inducing maintenance during low-activity windows; note these are operational risk-reduction measures only and do not remove the race. If NVMe-FC is not required, not loading/building the nvme-fc module eliminates the affected code path entirely at the cost of losing NVMe-over-FC connectivity.

Affected ProductsAI

The Linux kernel's nvme-fc (NVMe over Fibre Channel) host transport is affected across multiple stable series; specific vulnerable-to-fixed boundaries are defined by the seven stable-tree fix commits rather than a single tagged release. Exact affected versions are not enumerated in the provided data (no CPE strings supplied), so administrators should map the fix commits (git.kernel.org/stable/c/25f4bf1f, 4253e0a4, 891cdbb1, 9950af43, a2f7fa75, de3d91af, e8cde03d) against their running kernel and distribution backports. Only systems that actually build and use the nvme-fc driver with Fibre Channel HBAs attached to NVMe-oF targets are exposed.

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 flaw lives in the NVMe-oF Fibre Channel host driver (drivers/nvme/host/fc.c), which manages local ports (lport) and remote ports (rport) representing NVMe targets reachable over an FC SAN. Association lifecycle and reconnect logic must coordinate with dynamic port registration/unregistration events delivered by the FC transport. The root cause is a classic concurrency defect (CWE-362, Race Condition; the input lists CWE as N/A) - the reconnect path checks port_state and bumps the active reference counter non-atomically and without the rport lock, so a teardown that removes the remote port can interleave, invalidating state the reconnect path relies on. The upstream fix serializes access to port_state and rport state under the appropriate lock so the state check and refcount increment are atomic.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 8.8 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.9 MEDIUM

Timing-dependent race on the FC transport gives AC:H; needs an operational NVMe-FC host/fabric position (AV:A, PR:L); primary realistic impact is DoS (A:H) with limited memory disclosure/corruption (C:L/I:L).

3.1 AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:A/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Red Hat 4.7 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

nvme-fc: use lock accessing port_state and rport state

nvme_fc_unregister_remote removes the remote port on a lport object at any point in time when there is no active association. This races with with the reconnect logic, because nvme_fc_create_association is not taking a lock to check the port_state and atomically increase the active count on the rport.

Executive ViewAI

Why It Matters

NVMe over Fibre Channel storage systems on Linux are vulnerable to denial of service and potential data corruption (CVE-2025-40342, CVSS 8.8) due to a race condition in kernel transport logic, with no vendor patch currently available. Organizations dependent on FC-connected NVMe storage face operational disruption and potential data integrity risk. Immediate assessment and interim controls are required while awaiting patch availability.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: enhanced FC fabric monitoring to detect unusual or concurrent port reconnection patterns; SAN infrastructure tuning to reduce port teardown frequency and avoid association creation during port recovery; network segmentation to restrict FC fabric access to trusted storage consumers only; immediate notification procedures for abnormal storage subsystem behavior; and accelerated kernel patching processes when Linux security updates become available. Coordinate with FC SAN vendor support for product-specific workarounds and monitor Linux kernel mailing lists for community patches.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
Linux kernel ubiquitous, but NVMe-FC driver used only on enterprise SAN hosts
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Image SL-Micro Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

References

Advisories & patches
ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0278/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0281/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0293/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0315/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1078/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20207/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20220/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20228/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20564/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ REF https://git.kernel.org/stable/c/25f4bf1f7979a7871974fd36c79d69ff1cf4b446 REF https://git.kernel.org/stable/c/4253e0a4546138a2bf9cb6acf66b32fee677fc7c REF https://git.kernel.org/stable/c/891cdbb162ccdb079cd5228ae43bdeebce8597ad REF https://git.kernel.org/stable/c/9950af4303942081dc8c7a5fdc3688c17c7eb6c0 REF https://git.kernel.org/stable/c/a2f7fa75c4a2a07328fa22ccbef461db76790b55 REF https://git.kernel.org/stable/c/de3d91af47bc015031e7721b100a29989f6498a5 REF https://git.kernel.org/stable/c/e8cde03de8674b05f2c5e0870729049eba517800

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