CVE-2024-46764
kernel: bpf: add check for invalid name in btf_name_valid_section()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 18, 2024
Updated · September 13, 2026
Description
A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) component. A local attacker with high privileges could exploit an out-of-bounds (OOB) vulnerability in the btf_name_valid_section() function. This occurs when the function processes a specially crafted name string where a single null byte is not properly validated, potentially leading to information disclosure or a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
CWE-125 · Out-of-bounds Read