CVE-2021-47298

MEDIUM

Linux Kernel < 5.10.54 - Memory Leak

Title source: rule

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.

Scores

CVSS v3 5.5
EPSS 0.0009
EPSS Percentile 26.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (3)

linux/linux_kernel < 5.10.54
linux/linux_kernel
linux/linux_kernel

Timeline

Published May 21, 2024
Tracked Since Feb 18, 2026