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 package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 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_kernel | from 4.8 before 5.10.40, from 5.11 before 5.12.7, 5.13 | NVD |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47074 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47074 changed 2026-06-17 | Public domain |