CVE-2024-53099

bpf: Check validity of link->type in bpf_link_show_fdinfo()

HIGH
7.1
CVSS Score
Published: November 25, 2024 at 09:21 PM UTC
Updated: August 5, 2026 at 12:05 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Check validity of link->type in bpf_link_show_fdinfo() If a newly-added link type doesn't invoke BPF_LINK_TYPE(), accessing bpf_link_type_strs[link->type] may result in an out-of-bounds access. To spot such missed invocations early in the future, checking the validity of link->type in bpf_link_show_fdinfo() and emitting a warning when such invocations are missed.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.625.7 ≤ v < 5.10.2335.7 ≤ v < 5.15.1765.7 ≤ v < 6.1.1235.7 ≤ v < 6.11.95.7 ≤ v < 6.125.7 ≤ v < 6.6.626.7 ≤ v < 6.11.96.12 rc16.12 rc26.12 rc36.12 rc470ed506c3bbcfa846d4636b23051ca79fa4781f7
Vendor states this is fixed in 24fec234d2ba9ca3c14e545ebe3fd6dcb47f074d (fixed)
Vendor states this is fixed in 4e8074bb33d18f56af30a0252cb3606d27eb1c13 (fixed)
Vendor states this is fixed in 79f87a6ec39fb5968049a6775a528bf58b25c20a (fixed)
Vendor states this is fixed in 8421d4c8762bd022cb491f2f0f7019ef51b4f0a7 (fixed)
Vendor states this is fixed in b3eb1b6a9f745d6941b345f0fae014dc8bb06d36 (fixed)
Vendor states this is fixed in d5092b0a1aaf35d77ebd8d33384d7930bec5cb5d (fixed)
Vendor states this is fixed in 5.10.233 (unaffected)
Vendor states this is fixed in 5.15.176 (unaffected)
Vendor states this is fixed in 5.7 (unaffected)
Vendor states this is fixed in 6.1.123 (unaffected)
Vendor states this is fixed in 6.11.9 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.62 (unaffected)

References (8)

CVSS

7.1HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card