CVE-2024-50123

published 5 Nov 2024 · updated 5 Aug 2026

bpf: Add the missing BPF_LINK_TYPE invocation for sockmap

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6d79f12c0ce2bc8ff5f109093df1734bd6450615 and Kernel c2f803052bc7a7feb2e03befccc8e49b6ff1f5f5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.10, >=699c23f02c65cbfc3e638f14ce0d70c23a2e1f02 <6d79f12c0ce2bc8ff5f109093df1734bd6450615, >=699c23f02c65cbfc3e638f14ce0d70c23a2e1f02 <c2f803052bc7a7feb2e03befccc8e49b6ff1f5f56d79f12c0ce2bc8ff5f109093df1734bd6450615, c2f803052bc7a7feb2e03befccc8e49b6ff1f5f5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50123 severity on Zeptric[![CVE-2024-50123](https://zeptric.io/badge/cve/CVE-2024-50123.svg)](https://zeptric.io/cve/CVE-2024-50123)