Vulnerability 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
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.19.4 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/bpf/bpf/c/86f44fcec22cPatchVendor Advisory
- https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#tVendor Advisory
- https://git.kernel.org/bpf/bpf/c/86f44fcec22cPatchVendor Advisory
- https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#tVendor Advisory
FAQ
What is CVE-2022-2785?
CVE-2022-2785 is a vulnerability with a CVSS score of 6.7 (MEDIUM). 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 no...
How severe is CVE-2022-2785?
CVE-2022-2785 has been rated MEDIUM with a CVSS base score of 6.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-2785?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.