Review reviewHigh

CVE-2024-46764

Linux Linux, linux kernel

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.

CVSS
7.1
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.09.18
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.1

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= bd70a8fb7ca4fcb078086f4d96b048aaf1aa4786 < c8ffe2d4d37a05ce18c71b87421443c16f8475e5, >= bd70a8fb7ca4fcb078086f4d96b048aaf1aa4786 < bb6705c3f93bed2af03d43691743d4c43e3c8e6f, >= 6.9, >= 6.9 < 6.10.10, 6.11
Fixed versions
6.10.10

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE
CWE-125
CVE-2024-46764 — Linux Linux, linux kernel | SECUFOCUS NOW