CVE-2021-47075

In the Linux kernel, the following vulnerability has been resolved: nvmet: fix memory leak in nvmet_alloc_ctrl() When creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger than cntlid_max of the subsystem, and jumps to the "out_free_changed_ns_list" label, but the ctrl->sqs lack of be freed. Fix this by jumping to the "out_free_sqs" label.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*

History

19 Mar 2025, 16:09

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaeb - () https://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaeb - Patch
References () https://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a - () https://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a - Patch
References () https://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f - () https://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f - Patch
CWE CWE-401

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaeb - () https://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaeb -
References () https://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a - () https://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a -
References () https://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f - () https://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f -

06 Nov 2024, 22:35

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmet: repara la pérdida de memoria en nvmet_alloc_ctrl() Al crear ctrl en nvmet_alloc_ctrl(), si cntlid_min es mayor que cntlid_max del subsistema y salta a la etiqueta "out_free_changed_ns_list", pero el ctrl->sqs falta para liberarse. Solucione este problema saltando a la etiqueta "out_free_sqs".
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3

01 Mar 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-01 22:15

Updated : 2025-03-19 16:09


NVD link : CVE-2021-47075

Mitre link : CVE-2021-47075

CVE.ORG link : CVE-2021-47075


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime