{"id":"CVE-2025-40171","summary":"nvmet-fc: move lsop put work to nvmet_fc_ls_req_op","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-fc: move lsop put work to nvmet_fc_ls_req_op\n\nIt’s possible for more than one async command to be in flight from\n__nvmet_fc_send_ls_req. For each command, a tgtport reference is taken.\n\nIn the current code, only one put work item is queued at a time, which\nresults in a leaked reference.\n\nTo fix this, move the work item to the nvmet_fc_ls_req_op struct, which\nalready tracks all resources related to the command.","modified":"2026-04-02T12:48:18.712146Z","published":"2025-11-12T10:46:52.289Z","related":["SUSE-SU-2025:4393-1","SUSE-SU-2025:4422-1","SUSE-SU-2025:4505-1","SUSE-SU-2025:4516-1","SUSE-SU-2025:4517-1","SUSE-SU-2025:4521-1","SUSE-SU-2026:20012-1","SUSE-SU-2026:20015-1","SUSE-SU-2026:20021-1","SUSE-SU-2026:20039-1","SUSE-SU-2026:20059-1","SUSE-SU-2026:20473-1","SUSE-SU-2026:20496-1","openSUSE-SU-2025:20172-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40171.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/11269c08013f4ee8b8f5edc6c56700acb34092d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7331925c247b03b7767b8cd93cfe1b7aa2377850"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a619f8c869117ffed08365b377f66b7e1d941b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a28112cc55013cd8cbd5d36b5115a5b851151bd9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db5a5406fb7e5337a074385c7a3e53c77f2c1bd3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40171.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40171"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5e0bc09a52b6169ce90f7ac6e195791adb16cec4"},{"fixed":"11269c08013f4ee8b8f5edc6c56700acb34092d0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9e6987f8937a7bd7516aa52f25cb7e12c0c92ee8"},{"fixed":"a28112cc55013cd8cbd5d36b5115a5b851151bd9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"eaf0971fdabf2a93c1429dc6bedf3bbe85dffa30"},{"fixed":"060ecc81240ef9d60d9485a3a5eb55a0d6e7a25c"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"710c69dbaccdac312e32931abcb8499c1525d397"},{"fixed":"7331925c247b03b7767b8cd93cfe1b7aa2377850"},{"fixed":"7a619f8c869117ffed08365b377f66b7e1d941b4"},{"fixed":"db5a5406fb7e5337a074385c7a3e53c77f2c1bd3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"1d86f79287206deec36d63b89c741cf542b6cadd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40171.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.15.195"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.156"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.17.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40171.json"}}],"schema_version":"1.7.5"}