CVE Database›CVE-2024-50123

CVE-2024-50123

kernel: bpf: Add the missing BPF_LINK_TYPE invocation for sockmap

Loading…

Severity

Moderate

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · November 5, 2024

Updated · September 14, 2026

Description

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CWE-125 · Out-of-bounds Read