CVE-2021-47075
published medium CVSS 3.1 · 5.3nvmet: fix memory leak in nvmet_alloc_ctrl()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux94a39d61f80fcd679debda11e1ca02b88d90e67e to < 4720f29acb3fe67aa8aa71e6b675b079d193aaeb · 94a39d61f80fcd679debda11e1ca02b88d90e67e to < afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a · 94a39d61f80fcd679debda11e1ca02b88d90e67e to < fec356a61aa3d3a66416b4321f1279e09e0f256f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 5.10.40 through 5.10.* (unaffected · semver) · 5.12.7 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 94a39d61f80fcd679debda11e1ca02b88d90e67e to < 4720f29acb3fe67aa8aa71e6b675b079d193aaeb (affected · git)94a39d61f80fcd679debda11e1ca02b88d90e67e to < afb680ed7ecbb7fd66ddb43650e9b533fd8b4b9a (affected · git)94a39d61f80fcd679debda11e1ca02b88d90e67e to < fec356a61aa3d3a66416b4321f1279e09e0f256f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.7 (affected)0 to < 5.7 (unaffected · semver)5.10.40 through 5.10.* (unaffected · semver)5.12.7 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
3Provider assertions
3Linux · cna
nvmet: fix memory leak in nvmet_alloc_ctrl()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9f06dc183baae7df18369e52374aa8db4615751a16911e4e5ebea78f3912c4b0
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record