CVE-2021-47075
Linux Kernel vulnerability analysis and mitigation

Overview

A memory leak vulnerability was discovered in the Linux kernel's NVMe target subsystem (CVE-2021-47075). The issue occurs in the nvmet_alloc_ctrl() function when creating a controller where if the cntlid_min is larger than cntlid_max of the subsystem, the code jumps to the 'out_free_changed_ns_list' label without properly freeing ctrl->sqs memory (Kernel Git).

Technical details

The vulnerability exists in the nvmet_alloc_ctrl() function within the Linux kernel's NVMe target driver. When a controller is created with cntlid_min larger than cntlid_max, the function incorrectly jumps to 'out_free_changed_ns_list' label instead of 'out_free_sqs', resulting in a memory leak of the ctrl->sqs allocation. The issue has been assigned a CVSS v3.1 base score of 5.3 MEDIUM (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) (NVD).

Impact

The vulnerability can lead to memory leaks in the kernel when creating NVMe controllers under specific conditions. This could potentially result in system resource exhaustion over time if repeatedly triggered (NVD).

Exploitability

The vulnerability requires the ability to create NVMe controllers with specific controller ID parameters. It can be triggered when cntlid_min is configured to be larger than cntlid_max in the subsystem configuration (Kernel Git).

Mitigation and workarounds

The issue has been fixed by modifying the code to jump to the correct 'out_free_sqs' label instead of 'out_free_changed_ns_list' when cntlid_min is larger than cntlid_max. The fix has been implemented in the Linux kernel through a patch that properly handles the memory deallocation (Kernel Git).

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-2026-80724HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoNoAug 28, 2026
CVE-2026-80722HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-extra
NoYesAug 28, 2026
CVE-2026-80721HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesAug 28, 2026
CVE-2026-80723HIGH8.4
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 28, 2026
CVE-2026-80725HIGH7
  • Linux Kernel logoLinux Kernel
  • linux-aws-5.4
NoYesAug 29, 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