CVE-2025-40171
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40171 is a vulnerability in the Linux kernel's nvmet-fc subsystem, discovered and disclosed on November 12, 2025. The vulnerability affects the way async commands are handled in __nvmet_fc_send_ls_req, specifically related to tgtport reference management (NVD).

Technical details

The vulnerability occurs when multiple async commands are in flight from __nvmet_fc_send_ls_req. For each command, a tgtport reference is taken, but the current implementation only queues one put work item at a time. This design flaw results in a leaked reference. The issue exists in various Linux kernel versions, particularly affecting systems running specific kernel versions in Ubuntu distributions (Ubuntu).

Impact

The vulnerability leads to resource leakage in the Linux kernel's nvmet-fc subsystem, which could potentially affect system stability and performance over time. Multiple Ubuntu distributions including 22.04 LTS jammy and 20.04 LTS focal have been identified as vulnerable to this issue (Ubuntu).

Mitigation and workarounds

A fix has been developed that moves the work item to the nvmet_fc_ls_req_op struct, which already tracks all resources related to the command. This solution ensures proper resource management for multiple async commands (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt-addons
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-core
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • linux-ibm-5.15
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management