CVEvulnerability
CVE-2022-2785
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2022-09-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.7 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-125
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 configurations
• linux linux kernel (< 5.19.4)
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://git.kernel.org/bpf/bpf/c/86f44fcec22c Patch, Vendor Advisory
- https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t Vendor Advisory
- https://git.kernel.org/bpf/bpf/c/86f44fcec22c Patch, Vendor Advisory
- https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t Vendor Advisory