CVE-2021-47074
JSON

5.5medium

nvme-loop: fix memory leak in nvme_loop_create_ctrl()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 3a85a5de29ea779634ddfd768059e06196687aba before 9c980795ccd77e8abec33dd6fe28dfe1c4083e65, from 3a85a5de29ea779634ddfd768059e06196687aba before 551ba08d4b7eb26f75758cdb9f15105b276517ad, from 3a85a5de29ea779634ddfd768059e06196687aba before 03504e3b54cc8118cc26c064e60a0b00c2308708, 4.8
Not affected: before 4.8, from 5.10.40 up to 5.10.*, from 5.12.7 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 4.8 before 5.10.40, from 5.11 before 5.12.7, 5.13NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvme-loop: corrige la pérdida de memoria en nvme_loop_create_ctrl() Al crear el control del bucle en nvme_loop_create_ctrl(), si nvme_init_ctrl() falla, el control del bucle debe liberarse antes de saltar al "out" " etiqueta.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47074 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47074 changed 2026-06-17Public domain