Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.10, < 5.10.54 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9Patch
- https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889Patch
- https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470Patch
- https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9Patch
- https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889Patch
- https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470Patch
FAQ
What is CVE-2021-47298?
CVE-2021-47298 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 err...
How severe is CVE-2021-47298?
CVE-2021-47298 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-47298?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.