CVE-2022-2785
6.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux Kernel | Kernel | 5.14 < af2ac3e13e45 | affected |
| Linux Kernel | Kernel | 5.18 < b1d18a7574d0 | affected |
Weaknesses
- CWE-125: CWE-125 Out-of-bounds Read
ADP Enrichment
CVE Program Container
Additional References
- https://git.kernel.org/bpf/bpf/c/86f44fcec22c
- https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://git.kernel.org/bpf/bpf/c/86f44fcec22c
- https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.