CVE-2021-47298

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc2:*:*:*:*:*:*

History

23 Dec 2024, 16:39

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-401
CPE cpe:2.3:o:linux:linux_kernel:5.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9 - () https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9 - Patch
References () https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889 - () https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889 - Patch
References () https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470 - () https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470 - Patch

Information

Published : 2024-05-21 15:15

Updated : 2024-12-23 16:39


NVD link : CVE-2021-47298

Mitre link : CVE-2021-47298

CVE.ORG link : CVE-2021-47298


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime