CVE-2024-46764

published 18 Sep 2024 · updated 5 Aug 2026

bpf: add check for invalid name in btf_name_valid_section()

7.3HighCVSS 7.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bb6705c3f93bed2af03d43691743d4c43e3c8e6f and Kernel c8ffe2d4d37a05ce18c71b87421443c16f8475e5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.9, >=bd70a8fb7ca4fcb078086f4d96b048aaf1aa4786 <bb6705c3f93bed2af03d43691743d4c43e3c8e6f, >=bd70a8fb7ca4fcb078086f4d96b048aaf1aa4786 <c8ffe2d4d37a05ce18c71b87421443c16f8475e5bb6705c3f93bed2af03d43691743d4c43e3c8e6f, c8ffe2d4d37a05ce18c71b87421443c16f8475e5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-46764 severity on Zeptric[![CVE-2024-46764](https://zeptric.io/badge/cve/CVE-2024-46764.svg)](https://zeptric.io/cve/CVE-2024-46764)