CVE-2022-2785 MEDIUM

CVE-2022-2785: Arbitrary Memory read in BPF Linux Kernel

Vendor Linux Kernel
Product Kernel
Weakness CWE-125
Published September 23, 2022
Last update April 21, 2025

CVSS base score

6.7/10
Attack vector Local
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

September 23, 2022 CVE published
April 21, 2025 Record updated