CVE-2021-47074

nvme-loop: fix memory leak in nvme_loop_create_ctrl()

State
Published
Severity
Not scored
Published
Mar 1, 2024
Updated
May 11, 2026
Reserved
Feb 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3a85a5de29ea779634ddfd768059e06196687aba to before 9c980795ccd77e8abec33dd6fe28dfe1c4083e65Affected
  • 3a85a5de29ea779634ddfd768059e06196687aba to before 551ba08d4b7eb26f75758cdb9f15105b276517adAffected
  • 3a85a5de29ea779634ddfd768059e06196687aba to before 03504e3b54cc8118cc26c064e60a0b00c2308708Affected
LinuxLinux
  • 4.8Affected
  • before 4.8Not affected
  • 5.10.40 through 5.10.*Not affected
  • 5.12.7 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.