CVEvulnerability
CVE-2021-47074
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-03-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved:
nvme-loop: fix memory leak in nvme_loop_create_ctrl()
When creating loop ctrl in nvme_loop_create_ctrl(), if nvme_init_ctrl()
fails, the loop ctrl should be freed before jumping to the "out" label.
Affected configurations
• linux linux kernel (>= 4.8 < 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/03504e3b54cc8118cc26c064e60a0b00c2308708 Patch
- https://git.kernel.org/stable/c/551ba08d4b7eb26f75758cdb9f15105b276517ad Patch
- https://git.kernel.org/stable/c/9c980795ccd77e8abec33dd6fe28dfe1c4083e65 Patch
- https://git.kernel.org/stable/c/03504e3b54cc8118cc26c064e60a0b00c2308708 Patch
- https://git.kernel.org/stable/c/551ba08d4b7eb26f75758cdb9f15105b276517ad Patch
- https://git.kernel.org/stable/c/9c980795ccd77e8abec33dd6fe28dfe1c4083e65 Patch