Back
CVE-2021-47298bpf, sockmap: Fix potential memory leak on unlikely error case
- 5.5MediumCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 86% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 86% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 4363023d2668e621b0743db351a9555d6e6ea57e – < 715f378f42909c401ec043f5150c4fdf57fb8889
- affected 4363023d2668e621b0743db351a9555d6e6ea57e – < 6c508a1c6c62793dc6e6872cad4b200097bab7c9
- affected 4363023d2668e621b0743db351a9555d6e6ea57e – < 7e6b27a69167f97c56b5437871d29e9722c3e470
- affected 5.10
- unaffected < 5.10
- unaffected 5.10.54 – ≤ 5.10.*
- unaffected 5.13.6 – ≤ 5.13.*
- unaffected 5.14 – ≤ *
References
References3
- https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-34303 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47298)Record last updated .