All reports
Medium

kernel: bpf: Add the missing BPF_LINK_TYPE invocation for sockmap

Affected versions

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

Exploitation

CVE-2024-50123

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-18

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Add the missing BPF_LINK_TYPE invocation for sockmap There is an out-of-bounds read in bpf_link_show_fdinfo() for the sockmap link fd. Fix it by adding the missing BPF_LINK_TYPE invocation for sockmap link Also add comments for bpf_link_type to prevent missing updates in the future.

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) component. A local attacker with low privileges could exploit an out-of-bounds read vulnerability in the bpf_link_show_fdinfo() function, specifically when handling sockmap links. This missing invocation of BPF_LINK_TYPE for sockmap links could lead to information disclosure and potentially a denial of service.