CVE-2025-40171

nvmet-fc: move lsop put work to nvmet_fc_ls_req_op

State
Published
Severity
7.5 High
Published
Nov 12, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5e0bc09a52b6169ce90f7ac6e195791adb16cec4 to before 11269c08013f4ee8b8f5edc6c56700acb34092d0Affected
  • 9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8 to before a28112cc55013cd8cbd5d36b5115a5b851151bd9Affected
  • eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30 to before 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25cAffected
  • 710c69dbaccdac312e32931abcb8499c1525d397 to before 7331925c247b03b7767b8cd93cfe1b7aa2377850Affected
  • 710c69dbaccdac312e32931abcb8499c1525d397 to before 7a619f8c869117ffed08365b377f66b7e1d941b4Affected
  • 710c69dbaccdac312e32931abcb8499c1525d397 to before db5a5406fb7e5337a074385c7a3e53c77f2c1bd3Affected
  • 1d86f79287206deec36d63b89c741cf542b6caddAffected
  • 5.15.150 to before 5.15.195Affected
  • 6.1.80 to before 6.1.156Affected
  • 6.6.19 to before 6.6.112Affected
  • 6.7.7 to before 6.8Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 5.15.195 through 5.15.*Not affected
  • 6.1.156 through 6.1.*Not affected
  • 6.6.112 through 6.6.*Not affected
  • 6.12.53 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.