CVE-2025-40171: nvmet-fc: move lsop put work to nvmet_fc_ls_req_op
In the Linux kernel, the following vulnerability has been resolved:
nvmet-fc: move lsop put work to nvmet_fc_ls_req_op
It’s possible for more than one async command to be in flight from
__nvmet_fc_send_ls_req. For each command, a tgtport reference is taken.
In the current code, only one put work item is queued at a time, which
results in a leaked reference.
To fix this, move the work item to the nvmet_fc_ls_req_op struct, which
already tracks all resources related to the command.
Security readout for executives and security teams
Plain-English summary
A reference-counting flaw in Linux’s NVMe over Fibre Channel target code can leak resources when multiple asynchronous requests overlap. Repeated leakage may eventually exhaust resources and disrupt storage availability. General-purpose Linux systems are unlikely to be exposed unless they operate the affected NVMe-FC target functionality.
Executive priority
Prioritize storage infrastructure using Linux as an NVMe-FC target because failure could interrupt dependent services. Remediate promptly within the high-severity patch cycle, with faster handling for critical or broadly reachable storage fabrics. Systems not using nvmet-fc can be deprioritized after configuration evidence confirms non-exposure.
Technical view
The nvmet-fc path takes a target-port reference for each asynchronous request from __nvmet_fc_send_ls_req, but previously queued only one release work item. Concurrent operations can therefore leave references unreleased. The cited kernel changes associate release work with each nvmet_fc_ls_req_op. The supplied CVSS 3.1 score is 7.5, reflecting remote availability impact without confidentiality or integrity impact.
Likely exposure
Exposure is concentrated in Linux systems providing NVMe over Fibre Channel target services through nvmet-fc. Risk depends on whether that functionality is active and reachable through the relevant storage fabric. Ordinary hosts not operating this target path are unlikely to encounter the vulnerable behavior. The flattened version information is ambiguous, so kernel builds require commit-level or vendor confirmation.
Exploitation context
The bundle marks this CVE as absent from KEV and provides no evidence of active exploitation or a public exploit. The CVSS vector describes network reachability, low complexity, no privileges, and no user interaction, but the sources do not document attack mechanics or observed incidents. Treat deliberate exploitation as possible but unconfirmed.
Researcher notes
The failure is a per-command lifetime-management defect: multiple operations acquire references, while the old shared release mechanism may process only one. The source bundle lists stable fixes but does not preserve sufficiently clear version-range semantics for definitive branch mapping. Validate individual kernel packages through fix-commit ancestry or authoritative vendor backport documentation.
Mitigation direction
Identify systems operating Linux NVMe over Fibre Channel target services.
Apply a vendor-supported kernel containing the appropriate cited stable fix.
Use commit-level verification when vendor kernels contain backported patches.
Restrict access to the NVMe-FC target environment while remediation is pending.
Validation and detection
Confirm whether nvmet-fc target functionality is active on each potentially affected host.
Record running kernel builds and compare them with vendor vulnerability guidance.
Check vendor backport records for the relevant cited stable commit.
Monitor affected storage targets for resource growth, degradation, or availability failures.
Retest concurrent operational workloads after patching to confirm stability.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-40171 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
7Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.