What’s Vulnerable › Vulnerabilities

CVE-2024-50123: bpf: Add the missing BPF_LINK_TYPE invocation for sockmap

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.11.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50123 or the next vulnerability affects your stack