Out-of-bounds Read in Linux

CVE-2024-46764

In the Linux kernel, the following vulnerability has been resolved: bpf: add check for invalid name in btf_name_valid_section() If the length of the name string is 1 and the value of name[0] is NULL byte, an OOB vulnerability occurs in btf_name_valid_section() and the return value is true, so the invalid name passes the check. To solve this, you need to check if the first position is NULL byte and if the first character is printable.

Vulnerability class: Buffer Overflow

EPSS: 0.002 (12.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-46764?
CVE-2024-46764 is a high-severity vulnerability in Linux, classified under Out-of-bounds Read. CVSS score: 7.3/10. Published 2024-09-18.
How severe is CVE-2024-46764?
High severity. CVSS v3 base score is 7.3 out of 10.