{"id":"CVE-2022-2785","published":"2022-09-23T11:10:08Z","modified":"2025-04-21T13:49:09Z","title":"Arbitrary Memory read in BPF Linux Kernel","vendor":"Linux","product":"Kernel","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00265,"percentile":0.18746,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/bpf/bpf/c/86f44fcec22c","tags":["x_refsource_MISC"]},{"url":"https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t","tags":["x_refsource_MISC"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":3.75},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux Kernel","product":"Kernel","versions":[">= 5.14, < af2ac3e13e45",">= 5.18, < b1d18a7574d0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-21T13:36:55.797146Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-35026","exploited":false,"provenance":"source"}}