CVE-2022-2785
published medium CVSS 3.1 · 6.7Arbitrary Memory read in BPF Linux Kernel
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux Kernel | — | Kernel5.14 to < af2ac3e13e45 · 5.18 to < b1d18a7574d0 | Affected | Not stated |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux Kernel | Kernel | 5.14 to < af2ac3e13e45 (affected · custom)5.18 to < b1d18a7574d0 (affected · custom) | Google · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
2Provider assertions
3Google · cna
Arbitrary Memory read in BPF Linux Kernel
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 088c90ea49eeb9eed595835fe35fff187d0520c80364ec426a44c4f7aa4024ae
- Ingested
- 23 Sep 2026, 08:00:09 UTC
- Source record
- Official CVE record