Skip to main content

Linux Kernel CVE-2025-40343

CRITICAL
2025-12-09 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Critical
Disputed · 9.8 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Gain local privileged access to NVMe target host
  2. Delivery
    Write to configfs to drop target port link
  3. Exploit
    Trigger duplicate association-deletion work item
  4. Execution
    Second work item reuses freed memory
  5. Impact
    Kernel panic or memory corruption (DoS)

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the host to be running as an NVMe-over-Fibre-Channel target with the nvmet-fc driver loaded and at least one active association, and requires an actor with privileges to write to the NVMe target configfs interface (/sys/kernel/config/nvmet) to trigger nvmet_port_subsys_drop_link() - i.e., a forced port shutdown. Limiting factors: this is a local, privileged operation (not remote or unauthenticated), the vulnerable code path only exists when the niche nvmet-fc target subsystem is configured, and successful triggering depends on winning the race window where the deletion work item is scheduled twice, so it is not a guaranteed single-shot condition.

Impact

The NVD CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) is almost certainly an auto-generated over-score inconsistent with the description: the bug is only reachable by an operator who can write to the configfs interface to shut down a target port, which requires local root/admin privileges, not remote unauthenticated network access. It is also a race between two scheduled work items, adding timing complexity. These signals point to a locally-triggered availability issue (kernel panic / memory corruption), not remote code execution. Supporting this lower real-world risk, EPSS is only 0.21% (11th percentile), the CVE is not in CISA KEV, and no public exploit is identified. The input tag 'Information Disclosure' conflicts with the description, which describes a teardown-path memory-safety bug with no confidentiality leak - treat that tag as unreliable. Net: this is a low-to-moderate priority hardening fix for the narrow set of systems running NVMe-oF FC targets, not a widespread critical exposure despite the 9.8 label.

Exploit ScenarioDerived

A local user or process with root-equivalent access to the NVMe target configfs interface forcibly deletes a target port link while an association is active, causing the same deletion work item to be scheduled twice and freeing already-freed kernel memory, which panics or corrupts the kernel. Because it depends on a race between two teardown work items, reliable triggering may require repeated attempts or specific timing. No public proof-of-concept exists at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 (kernel use-after-free/double-free) in the Linux kernel's nvmet-fc NVMe-over-Fibre-Channel target driver allows a local privileged operator to crash the kernel by forcibly shutting down an NVMe target port via configfs. When a port is torn down, nvmet_port_subsys_drop_link() calls both nvmet_port_del_ctrls() and nvmet_disable_port(), each of which can schedule the same association-deletion work item; the first run frees all resources and the second reuses freed memory. This is a fix already merged upstream in the stable trees, with no public exploit identified at time of analysis and a low EPSS score (0.21%, 11th percentile).

RemediationAI

Upstream fix available (commits); update to a stable kernel release that includes the nvmet-fc 'terminating'-flag change, tracked by the backport commits 04d17540ef51, 2f4852db87e2, 601ed47b2363, 85e2ce1920cb, c09ac9a63fc3 and f2537be4f842 at https://git.kernel.org/stable/c/ - apply the vendor/distribution kernel update that references CVE-2025-40343 rather than an unverified upstream version string, since no single tagged release version was supplied. As a compensating control until patched, restrict who can write to the NVMe target configfs tree (/sys/kernel/config/nvmet) to trusted storage administrators and avoid scripted or repeated forced port shutdowns, since the bug is triggered specifically by the port-drop teardown path; on hosts that do not act as NVMe-oF FC targets, blacklisting/unloading the nvmet-fc module removes the exposure entirely, at the cost of disabling FC target functionality on that host.

Affected ProductsAI

The vulnerability affects the Linux kernel's nvmet-fc target driver across multiple stable branches, as evidenced by six backport commits on git.kernel.org (04d17540ef51, 2f4852db87e2, 601ed47b2363, 85e2ce1920cb, c09ac9a63fc3, f2537be4f842). No specific CPE strings or exact version ranges were provided in the input, so precise affected kernel version numbers are not independently confirmed here; only systems that build and load the nvmet-fc module and configure an NVMe-over-Fibre-Channel target are exposed. The authoritative fix references are the stable-tree commits at https://git.kernel.org/stable/c/2f4852db87e25d4e226b25cb6f652fef9504360e and its sibling backports.

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 affected component is nvmet-fc, the Linux kernel's NVMe-over-Fabrics target driver for the Fibre Channel transport, managed through the configfs pseudo-filesystem (/sys/kernel/config/nvmet). Associations between host and target are tracked in an RCU-protected linked list. Because entries in an RCU list cannot be safely removed under a lock and re-looked-up, the code guards against duplicate teardown only after the deletion work item is already queued, creating a window where the same work item is scheduled twice. The root-cause class is a concurrency-driven use-after-free / double-free (CWE-416 / CWE-415); the upstream fix introduces a 'terminating' flag so an association already being deleted is not rescheduled. The published CWE is N/A in the input, so the class here is inferred from the description, not vendor-assigned.

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

Sources disagree (Medium–Critical)
Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 4.1 MEDIUM

Triggered locally via privileged configfs port-shutdown (AV:L/PR:H), depends on a scheduling race (AC:H), and yields a kernel crash/memory corruption with availability impact only (A:H, C/I:N).

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/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 5.2 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

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

Attack Vector
Network
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:

nvmet-fc: avoid scheduling association deletion twice

When forcefully shutting down a port via the configfs interface, nvmet_port_subsys_drop_link() first calls nvmet_port_del_ctrls() and then nvmet_disable_port(). Both functions will eventually schedule all remaining associations for deletion.

The current implementation checks whether an association is about to be removed, but only after the work item has already been scheduled. As a result, it is possible for the first scheduled work item to free all resources, and then for the same work item to be scheduled again for deletion.

Because the association list is an RCU list, it is not possible to take a lock and remove the list entry directly, so it cannot be looked up again. Instead, a flag (terminating) must be used to determine whether the association is already in the process of being deleted.

Executive ViewAI

Why It Matters

Linux systems running NVMe-over-Fibre-Channel storage are vulnerable to denial-of-service attacks via kernel crashes (CVE-2025-40343). Organizations using this storage technology face unplanned downtime risk, particularly if administrative access controls are weak. The vulnerability requires privileged local access, limiting the threat to trusted administrators or compromised administrative accounts.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; upstream Linux kernel fix available in stable branches for distribution deployment. Interim mitigation: restrict NVMe-FC administrative port configuration to minimally privileged accounts through RBAC, enable comprehensive audit logging of all configfs port operations, and segment administrative access to authorized operations team members only.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
Linux kernel is ubiquitous but nvmet-fc NVMe-oF Fibre Channel target is a niche subsystem
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
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: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/04d17540ef51e2c291eb863ca87fd332259b2d40 REF https://git.kernel.org/stable/c/2f4852db87e25d4e226b25cb6f652fef9504360e REF https://git.kernel.org/stable/c/601ed47b2363c24d948d7bac0c23abc8bd459570 REF https://git.kernel.org/stable/c/85e2ce1920cb511d57aae59f0df6ff85b28bf04d REF https://git.kernel.org/stable/c/c09ac9a63fc3aaf4670ad7b5e4f5afd764424154 REF https://git.kernel.org/stable/c/f2537be4f8421f6495edfa0bc284d722f253841d

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