CVE-2022-2785
Last modified
CVE-2022-2785 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.19.4 |
References
- https://git.kernel.org/bpf/bpf/c/86f44fcec22cPatch, Vendor Advisory
- https://git.kernel.org/bpf/bpf/c/86f44fcec22cPatch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-2785?
How severe is CVE-2022-2785?
How do I fix CVE-2022-2785?
Are you affected by CVE-2022-2785?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
