{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-22087","published":"2025-04-16T15:16:02.903000Z","last_modified":"2026-07-30T06:22:12.037000Z","status":"Modified","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.9","version_end_excluding":"6.12.23"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.13.11"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.14","version_end_excluding":"6.14.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.00338,"percentile":0.19677,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2025-22087/","html_en":"/en/cve/CVE-2025-22087/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-22087","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-22087"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix array bounds error with may_goto\n\nmay_goto uses an additional 8 bytes on the stack, which causes the\ninterpreters[] array to go out of bounds when calculating index by\nstack_size.\n\n1. If a BPF program is rewritten, re-evaluate the stack size. For non-JIT\ncases, reject loading directly.\n\n2. For non-JIT cases, calculating interpreters[idx] may still cause\nout-of-bounds array access, and just warn about it.\n\n3. For jit_requested cases, the execution of bpf_func also needs to be\nwarned. So move the definition of function __bpf_prog_ret0_warn out of\nthe macro definition CONFIG_BPF_JIT_ALWAYS_ON.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/19e6817f84000d0b06f09fd69ebd56217842c122","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/1a86ae57b2600e5749f5f674e9d4296ac00c69a8","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4524b7febdd55fb99ae2e1f48db64019fa69e643","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6ebc5030e0c5a698f1dd9a6684cddf6ccaed64a0","tags":["Patch"]}]}}