---
cve: "CVE-2022-2785"
severity: "MEDIUM"
cvss: 6.7
epss: "26%"
vendor: "Linux kernel"
kev: false
exploited: false
published: "2022-09-23 11:15:09"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-10T08:29:19+02:00"
---

# CVE-2022-2785

> 6.7 MEDIUM

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Referenzen

- <https://git.kernel.org/bpf/bpf/c/86f44fcec22c>
- <https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-2785) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
