CVE-2025-40171

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux5e0bc09a52b6169ce90f7ac6e195791adb16cec4 < 11269c08013f4ee8b8f5edc6c56700acb34092d0affected
LinuxLinux9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8 < a28112cc55013cd8cbd5d36b5115a5b851151bd9affected
LinuxLinuxeaf0971fdabf2a93c1429dc6bedf3bbe85dffa30 < 060ecc81240ef9d60d9485a3a5eb55a0d6e7a25caffected
LinuxLinux710c69dbaccdac312e32931abcb8499c1525d397 < 7331925c247b03b7767b8cd93cfe1b7aa2377850affected
LinuxLinux710c69dbaccdac312e32931abcb8499c1525d397 < 7a619f8c869117ffed08365b377f66b7e1d941b4affected
LinuxLinux710c69dbaccdac312e32931abcb8499c1525d397 < db5a5406fb7e5337a074385c7a3e53c77f2c1bd3affected
LinuxLinux1d86f79287206deec36d63b89c741cf542b6caddaffected
LinuxLinux5.15.150 < 5.15.195affected
LinuxLinux6.1.80 < 6.1.156affected
LinuxLinux6.6.19 < 6.6.112affected
LinuxLinux6.7.7 < 6.8affected
LinuxLinux6.8affected
LinuxLinux0 < 6.8unaffected
LinuxLinux5.15.195 <= 5.15.*unaffected
LinuxLinux6.1.156 <= 6.1.*unaffected
LinuxLinux6.6.112 <= 6.6.*unaffected
LinuxLinux6.12.53 <= 6.12.*unaffected
LinuxLinux6.17.3 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References