CVE-2021-47074

nvme-loop: fix memory leak in nvme_loop_create_ctrl()

MEDIUM
5.5
CVSS Score
Published: March 1, 2024 at 09:15 PM UTC
Updated: June 17, 2026 at 04:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.8 ≤ v < 5.10.404.8 ≤ v < 5.12.74.8 ≤ v < 5.135.11 ≤ v < 5.12.73a85a5de29ea779634ddfd768059e06196687aba5.13 rc15.13 rc2
Vendor states this is fixed in 03504e3b54cc8118cc26c064e60a0b00c2308708 (fixed)
Vendor states this is fixed in 551ba08d4b7eb26f75758cdb9f15105b276517ad (fixed)
Vendor states this is fixed in 9c980795ccd77e8abec33dd6fe28dfe1c4083e65 (fixed)
Vendor states this is fixed in 4.8 (unaffected)
Vendor states this is fixed in 5.10.40 (unaffected)
Vendor states this is fixed in 5.12.7 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03504e3b54cc8118cc26c064e60a0b00c2308708
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/551ba08d4b7eb26f75758cdb9f15105b276517ad
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9c980795ccd77e8abec33dd6fe28dfe1c4083e65

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card