CVE-2021-47298

high

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.

References

https://git.kernel.org/stable/c/7e6b27a69167f97c56b5437871d29e9722c3e470

https://git.kernel.org/stable/c/715f378f42909c401ec043f5150c4fdf57fb8889

https://git.kernel.org/stable/c/6c508a1c6c62793dc6e6872cad4b200097bab7c9

Details

Source: Mitre, NVD

Published: 2024-05-21

Updated: 2024-05-21

Risk Information

CVSS v2

Base Score: 8.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High