{"id":"CVE-2022-2785","aliases":["CVE-2022-2785"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Memory read in BPF Linux Kernel","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"},{"lang":"es","text":"Se presenta una lectura de memoria arbitraria dentro del BPF del Kernel de Linux - Las constantes proporcionadas para rellenar los punteros en los structs pasados a bpf_sys_bpf no son verificados y pueden apuntar a cualquier lugar, incluyendo la memoria que no es propiedad de BPF. Un atacante con CAP_BPF puede leer arbitrariamente la memoria de cualquier parte del sistema. Recomendamos actualizar el commit pasado 86f44fcec22c","source":"nvd"}],"published":"2022-09-23T11:10:08.764Z","modified":"2026-06-17T04:42:34.670Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"5.14","fixed":"af2ac3e13e45","status":"affected"},{"type":"custom","introduced":"5.18","fixed":"b1d18a7574d0","status":"affected"}],"vendor":"Linux Kernel","product":"Kernel","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/bpf/bpf/c/86f44fcec22c","tags":["patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-21T13:36:55.797Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-2785","url":"https://www.cve.org/CVERecord?id=CVE-2022-2785","licence":"CVE Terms of Use","modified":"2025-04-21T13:49:09.750Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-2785","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2785","licence":"Public domain","modified":"2026-06-17T04:42:34.670Z"}],"updatedAt":"2026-11-25T22:58:15.223Z","epss":{"score":0.00265,"percentile":0.19614,"date":"2026-12-02T12:00:21.000Z"}}