What’s Vulnerable › Vulnerabilities

CVE-2022-2785: Arbitrary Memory read in BPF Linux Kernel

Description

There exists an arbitrary memory read within the Linux Kernel BPF - Constants provided to fill pointers in structs passed in to bpf_sys_bpf are not verified and can point anywhere, including memory not owned by BPF. An attacker with CAP_BPF can arbitrarily read memory from anywhere on the system. We recommend upgrading past commit 86f44fcec22c

Affected products

How to fix

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

References

Get alerted when CVE-2022-2785 or the next vulnerability affects your stack