CVE-2021-47298
publishedbpf, sockmap: Fix potential memory leak on unlikely error case
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4363023d2668e621b0743db351a9555d6e6ea57e to < 715f378f42909c401ec043f5150c4fdf57fb8889 · 4363023d2668e621b0743db351a9555d6e6ea57e to < 6c508a1c6c62793dc6e6872cad4b200097bab7c9 · 4363023d2668e621b0743db351a9555d6e6ea57e to < 7e6b27a69167f97c56b5437871d29e9722c3e470 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 5.10.54 through 5.10.* (unaffected · semver) · 5.13.6 through 5.13.* (unaffected · semver) · 5.14 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-004 | 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-004 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-004 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-004 |
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-004 |
Description
In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix potential memory leak on unlikely error case If skb_linearize is needed and fails we could leak a msg on the error handling. To fix ensure we kfree the msg block before returning error. Found during code review.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4363023d2668e621b0743db351a9555d6e6ea57e to < 715f378f42909c401ec043f5150c4fdf57fb8889 (affected · git)4363023d2668e621b0743db351a9555d6e6ea57e to < 6c508a1c6c62793dc6e6872cad4b200097bab7c9 (affected · git)4363023d2668e621b0743db351a9555d6e6ea57e to < 7e6b27a69167f97c56b5437871d29e9722c3e470 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.10 (affected)0 to < 5.10 (unaffected · semver)5.10.54 through 5.10.* (unaffected · semver)5.13.6 through 5.13.* (unaffected · semver)5.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
bpf, sockmap: Fix potential memory leak on unlikely error case
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b38d89e6cf24ad8f664a1d200ecd170ec649287a1fa2cb310f130953d84d219
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record