All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-53099

Probability of exploitation in the next 30 days: 0.23%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel's BPF (Berkeley Packet Filter) subsystem. A missing validation check on link types in the link file descriptor information handler can result in an out-of-bounds read. A local user could exploit this vulnerability to trigger a kernel crash, resulting in a Denial of Service (DoS), or potentially disclose sensitive kernel memory.