CVE-2025-40171
nvmet-fc: move lsop put work to nvmet_fc_ls_req_op
Check your servers for CVE-2025-40171
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40171 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.48%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5e0bc09a52b6169ce90f7ac6e195791adb16cec4, before 11269c08013f4ee8b8f5edc6c56700acb34092d0 affected from 9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8, before a28112cc55013cd8cbd5d36b5115a5b851151bd9 affected from eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30, before 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c affected from 710c69dbaccdac312e32931abcb8499c1525d397, before 7331925c247b03b7767b8cd93cfe1b7aa2377850 affected from 710c69dbaccdac312e32931abcb8499c1525d397, before 7a619f8c869117ffed08365b377f66b7e1d941b4 affected from 710c69dbaccdac312e32931abcb8499c1525d397, before db5a5406fb7e5337a074385c7a3e53c77f2c1bd3 affected 1d86f79287206deec36d63b89c741cf542b6cadd affected from 5.15.150, before 5.15.195 affected from 6.1.80, before 6.1.156 affected from 6.6.19, before 6.6.112 affected from 6.7.7, before 6.8
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 5.15.195 up to and including 5.15.* unaffected from 6.1.156 up to and including 6.1.* unaffected from 6.6.112 up to and including 6.6.* unaffected from 6.12.53 up to and including 6.12.* unaffected from 6.17.3 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40171 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40171
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-40171
trivy image --scanners vuln IMAGE | grep CVE-2025-40171
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/11269c08013f4ee8b8f5edc6c56700acb34092d0 git.kernel.org
- https://git.kernel.org/stable/c/a28112cc55013cd8cbd5d36b5115a5b851151bd9 git.kernel.org
- https://git.kernel.org/stable/c/060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c git.kernel.org
- https://git.kernel.org/stable/c/7331925c247b03b7767b8cd93cfe1b7aa2377850 git.kernel.org
- https://git.kernel.org/stable/c/7a619f8c869117ffed08365b377f66b7e1d941b4 git.kernel.org
- https://git.kernel.org/stable/c/db5a5406fb7e5337a074385c7a3e53c77f2c1bd3 git.kernel.org
Source: the record CVE-2025-40171 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse