CVE-2022-2785

6.7 MEDIUM
Published: September 23, 2022 Modified: April 14, 2026
View on NVD

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

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://git.kernel.org/bpf/bpf/c/86f44fcec22c
Source: cve-coordination@google.com
Patch Vendor Advisory
https://git.kernel.org/bpf/bpf/c/86f44fcec22c
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Vendor Advisory
https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.7 / 10.0
EPSS (Exploit Probability)
0.1%
18th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

linux