CVE-2025-40171
nvmet-fc: move lsop put work to nvmet_fc_ls_req_op
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 5e0bc09a52b6169ce90f7ac6e195791adb16cec4, < 11269c08013f4ee8b8f5edc6c56700acb34092d0; >= 9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8, < a28112cc55013cd8cbd5d36b5115a5b851151bd9; >= eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30, < 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c; >= 710c69dbaccdac312e32931abcb8499c1525d397, < 7331925c247b03b7767b8cd93cfe1b7aa2377850; >= 710c69dbaccdac312e32931abcb8499c1525d397, < 7a619f8c869117ffed08365b377f66b7e1d941b4; >= 710c69dbaccdac312e32931abcb8499c1525d397, < db5a5406fb7e5337a074385c7a3e53c77f2c1bd3; 1d86f79287206deec36d63b89c741cf542b6cadd; >= 5.15.150, < 5.15.195; >= 6.1.80, < 6.1.156; >= 6.6.19, < 6.6.112; …
- Anyone running Linux 6.8
Vulnerability facts
- Affected
- Linux >= 5e0bc09a52b6169ce90f7ac6e195791adb16cec4, < 11269c08013f4ee8b8f5edc6c56700acb34092d0; >= 9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8, < a28112cc55013cd8cbd5d36b5115a5b851151bd9; >= eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30, < 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c; >= 710c69dbaccdac312e32931abcb8499c1525d397, < 7331925c247b03b7767b8cd93cfe1b7aa2377850; >= 710c69dbaccdac312e32931abcb8499c1525d397, < 7a619f8c869117ffed08365b377f66b7e1d941b4; >= 710c69dbaccdac312e32931abcb8499c1525d397, < db5a5406fb7e5337a074385c7a3e53c77f2c1bd3; 1d86f79287206deec36d63b89c741cf542b6cadd; >= 5.15.150, < 5.15.195; >= 6.1.80, < 6.1.156; >= 6.6.19, < 6.6.112; …; Linux 6.8
- Fixed in
- Linux 11269c08013f4ee8b8f5edc6c56700acb34092d0, Linux 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c, Linux 7331925c247b03b7767b8cd93cfe1b7aa2377850, Linux 7a619f8c869117ffed08365b377f66b7e1d941b4, Linux 5.15.195, Linux 6.1.156, Linux 6.6.112
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.91% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5e0bc09a52b6169ce90f7ac6e195791adb16cec4, < 11269c08013f4ee8b8f5edc6c56700acb34092d0; >= 9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8, < a28112cc55013cd8cbd5d36b5115a5b851151bd9; >= eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30, < 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c; >= 710c69dbaccdac312e32931abcb8499c1525d397, < 7331925c247b03b7767b8cd93cfe1b7aa2377850; >= 710c69dbaccdac312e32931abcb8499c1525d397, < 7a619f8c869117ffed08365b377f66b7e1d941b4; >= 710c69dbaccdac312e32931abcb8499c1525d397, < db5a5406fb7e5337a074385c7a3e53c77f2c1bd3; 1d86f79287206deec36d63b89c741cf542b6cadd; >= 5.15.150, < 5.15.195; >= 6.1.80, < 6.1.156; >= 6.6.19, < 6.6.112; … | — | cvelist |
| Linux | 6.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40171. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40171.md Affected: Linux >= 5e0bc09a52b6169ce90f7ac6e195791adb16cec4, < 11269c08013f4ee8b8f5edc6c56700acb34092d0; >= 9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8, < a28112cc55013cd8cbd5d36b5115a5b851151bd9; >= eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30, < 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c; >= 710c69dbaccdac312e32931… Fixed in: Linux 11269c08013f4ee8b8f5edc6c56700acb34092d0, Linux 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c, Linux 7331925c247b03b7767b8cd93cfe1b7aa2377850, Linux 7a619f8c869117ffed08365b377f66b7e1d941b4, Linux 5.15.195, Linux 6.1.156, Linux 6.6.112 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/11269c08013f4ee8b8f5edc6c56700acb34092d0
- https://git.kernel.org/stable/c/a28112cc55013cd8cbd5d36b5115a5b851151bd9
- https://git.kernel.org/stable/c/060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c
- https://git.kernel.org/stable/c/7331925c247b03b7767b8cd93cfe1b7aa2377850
- https://git.kernel.org/stable/c/7a619f8c869117ffed08365b377f66b7e1d941b4
- https://git.kernel.org/stable/c/db5a5406fb7e5337a074385c7a3e53c77f2c1bd3
FAQ
Is CVE-2025-40171 being exploited?
There is no confirmed exploitation: CVE-2025-40171 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40171?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-40171?
Linux >= 5e0bc09a52b6169ce90f7ac6e195791adb16cec4, < 11269c08013f4ee8b8f5edc6c56700acb34092d0; >= 9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8, < a28112cc55013cd8cbd5d36b5115a5b851151bd9; >= eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30, < 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c; >= 710c69dbaccdac312e32931abcb8499c1525d397, < 7331925c247b03b7767b8cd93cfe1b7aa2377850; >= 710c69dbaccdac312e32931abcb8499c1525d397, < 7a619f8c869117ffed08365b377f66b7e1d941b4; >= 710c69dbaccdac312e32931abcb8499c1525d397, < db5a5406fb7e5337a074385c7a3e53c77f2c1bd3; 1d86f79287206deec36d63b89c741cf542b6cadd; >= 5.15.150, < 5.15.195; >= 6.1.80, < 6.1.156; >= 6.6.19, < 6.6.112; …; Linux 6.8.
Is there a fix for CVE-2025-40171?
Yes. Fixed in Linux 11269c08013f4ee8b8f5edc6c56700acb34092d0, Linux 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c, Linux 7331925c247b03b7767b8cd93cfe1b7aa2377850, Linux 7a619f8c869117ffed08365b377f66b7e1d941b4, Linux 5.15.195, Linux 6.1.156, Linux 6.6.112. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-40171?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.