CVE-2021-47075
published 2024-03-01CVE-2021-47075: In the Linux kernel, the following vulnerability has been resolved: nvmet: fix memory leak in nvmet_alloc_ctrl() When creating ctrl in nvmet_alloc_ctrl(), if…
PriorityP422medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.91%
56.3th percentile
In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix memory leak in nvmet_alloc_ctrl()
When creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger
than cntlid_max of the subsystem, and jumps to the
"out_free_changed_ns_list" label, but the ctrl->sqs lack of be freed.
Fix this by jumping to the "out_free_sqs" label.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.10.40-1 (bookworm) | linux 5.10.40-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 94a39d61f80fcd679debda11e1ca02b88d90e67e < 4720f29acb3fe67aa8aa71e6b675b079d193aaeb | 4720f29acb3fe67aa8aa71e6b675b079d193aaeb |
| linux | linux | >= 94a39d61f80fcd679debda11e1ca02b88d90e67e < afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a | afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a |
| linux | linux | >= 94a39d61f80fcd679debda11e1ca02b88d90e67e < fec356a61aa3d3a66416b4321f1279e09e0f256f | fec356a61aa3d3a66416b4321f1279e09e0f256f |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.40-1 | 5.10.40-1 |
| linux | linux_kernel | >= 0 < 5.10.40-1 | 5.10.40-1 |
| linux | linux_kernel | >= 0 < 5.10.40-1 | 5.10.40-1 |
| linux | linux_kernel | >= 0 < 5.10.40-1 | 5.10.40-1 |
| linux | linux_kernel | >= 5.11 < 5.12.7 | 5.12.7 |
| linux | linux_kernel | >= 5.7 < 5.10.40 | 5.10.40 |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: nvmet: fix memory leak in nvmet_alloc_ctrl()
vendor_redhat·2024-03-01·CVSS 5.3
CVE-2021-47075 [MEDIUM] CWE-402 kernel: nvmet: fix memory leak in nvmet_alloc_ctrl()
kernel: nvmet: fix memory leak in nvmet_alloc_ctrl()
In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix memory leak in nvmet_alloc_ctrl()
When creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger
than cntlid_max of the subsystem, and jumps to the
"out_free_changed_ns_list" label, but the ctrl->sqs lack of be freed.
Fix this by jumping to the "out_free_sqs" label.
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-rt (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 8) - Affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Affected
Package: kernel (Red Hat Enterprise Linux 9) - Not affected
Pack
Debian
CVE-2021-47075: linux - In the Linux kernel, the following vulnerability has been resolved: nvmet: fix ...
vendor_debian·2021·CVSS 5.3
CVE-2021-47075 [MEDIUM] CVE-2021-47075: linux - In the Linux kernel, the following vulnerability has been resolved: nvmet: fix ...
In the Linux kernel, the following vulnerability has been resolved: nvmet: fix memory leak in nvmet_alloc_ctrl() When creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger than cntlid_max of the subsystem, and jumps to the "out_free_changed_ns_list" label, but the ctrl->sqs lack of be freed. Fix this by jumping to the "out_free_sqs" label.
Scope: local
bookworm: resolved (fixed in 5.10.40-1)
bullseye: resolved (fixed in 5.10.40-1)
forky: resolved (fixed in 5.10.40-1)
sid: resolved (fixed in 5.10.40-1)
trixie: resolved (fixed in 5.10.40-1)
GHSA
GHSA-f5x9-85f3-f3r4: In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix memory leak in nvmet_alloc_ctrl()
When creating ctrl in nvmet_alloc_c
ghsa_unreviewed·2024-03-02
CVE-2021-47075 [MEDIUM] CWE-401 GHSA-f5x9-85f3-f3r4: In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix memory leak in nvmet_alloc_ctrl()
When creating ctrl in nvmet_alloc_c
In the Linux kernel, the following vulnerability has been resolved:
nvmet: fix memory leak in nvmet_alloc_ctrl()
When creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger
than cntlid_max of the subsystem, and jumps to the
"out_free_changed_ns_list" label, but the ctrl->sqs lack of be freed.
Fix this by jumping to the "out_free_sqs" label.
OSV
CVE-2021-47075: In the Linux kernel, the following vulnerability has been resolved: nvmet: fix memory leak in nvmet_alloc_ctrl() When creating ctrl in nvmet_alloc_ctr
osv·2024-03-01·CVSS 5.3
CVE-2021-47075 [MEDIUM] CVE-2021-47075: In the Linux kernel, the following vulnerability has been resolved: nvmet: fix memory leak in nvmet_alloc_ctrl() When creating ctrl in nvmet_alloc_ctr
In the Linux kernel, the following vulnerability has been resolved: nvmet: fix memory leak in nvmet_alloc_ctrl() When creating ctrl in nvmet_alloc_ctrl(), if the cntlid_min is larger than cntlid_max of the subsystem, and jumps to the "out_free_changed_ns_list" label, but the ctrl->sqs lack of be freed. Fix this by jumping to the "out_free_sqs" label.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaebhttps://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9ahttps://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256fhttps://git.kernel.org/stable/c/4720f29acb3fe67aa8aa71e6b675b079d193aaebhttps://git.kernel.org/stable/c/afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9ahttps://git.kernel.org/stable/c/fec356a61aa3d3a66416b4321f1279e09e0f256f
2024-03-01
Published