CVE-2022-2785

Summary

CVECVE-2022-2785
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-09-23 11:15:00 UTC
Updated2023-11-07 03:46:00 UTC
DescriptionThere 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

Risk And Classification

Problem Types: CWE-125

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

References

ReferenceSourceLinkTags
[PATCH bpf 1/2] bpf: Restrict bpf_sys_bpf to CAP_PERFMON CONFIRM lore.kernel.org
kernel/git/bpf/bpf.git - BPF kernel tree CONFIRM git.kernel.org
[PATCH bpf 1/2] bpf: Restrict bpf_sys_bpf to CAP_PERFMON lore.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 184583 Debian Security Update for linux (CVE-2022-2785)
  • 904048 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (11022)
  • 904052 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (11015)
  • 904191 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (11022-1)
  • 904723 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (11015-1)
  • 906236 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (11022-2)
  • 906489 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (11015-2)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report