CVE-2024-46764

medium

Description

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.

References

https://git.kernel.org/stable/c/c8ffe2d4d37a05ce18c71b87421443c16f8475e5

https://git.kernel.org/stable/c/bb6705c3f93bed2af03d43691743d4c43e3c8e6f

Details

Source: Mitre, NVD

Published: 2024-09-18

Updated: 2024-09-20

Risk Information

CVSS v2

Base Score: 2.1

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

Severity: Low

CVSS v3

Base Score: 5.5

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

Severity: Medium

EPSS

EPSS: 0.00048