CVEvulnerability
CVE-2021-47075
5.3 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-03-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-401
Description
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.
Affected configurations
• linux linux kernel (>= 5.7 < 5.10.40)
• linux linux kernel (>= 5.11 < 5.12.7)
• linux linux kernel 5.13
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaeb Patch
- https://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a Patch
- https://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f Patch
- https://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaeb Patch
- https://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a Patch
- https://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f Patch