# CVE-2025-40171: nvmet-fc: move lsop put work to nvmet\_fc\_ls\_req\_op

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.91% (percentile 58, 2026-11-26)
- **Published:** 2025-11-12T10:46:52.289Z
- **Modified:** 2026-10-19T21:10:00.160Z

## 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

## 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

- 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)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/11269c08013f4ee8b8f5edc6c56700acb34092d0>
- other: <https://git.kernel.org/stable/c/a28112cc55013cd8cbd5d36b5115a5b851151bd9>
- other: <https://git.kernel.org/stable/c/060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c>
- other: <https://git.kernel.org/stable/c/7331925c247b03b7767b8cd93cfe1b7aa2377850>
- other: <https://git.kernel.org/stable/c/7a619f8c869117ffed08365b377f66b7e1d941b4>
- other: <https://git.kernel.org/stable/c/db5a5406fb7e5337a074385c7a3e53c77f2c1bd3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40171>

HTML: <https://flawdb.com/CVE-2025-40171> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40171>
