{"id":"CVE-2025-38586","published":"2025-08-19T17:03:08Z","modified":"2026-10-15T22:02:26Z","title":"bpf, arm64: Fix fp initialization for exception boundary","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, arm64: Fix fp initialization for exception boundary\n\nIn the ARM64 BPF JIT when prog->aux->exception_boundary is set for a BPF\nprogram, find_used_callee_regs() is not called because for a program\nacting as exception boundary, all callee saved registers are saved.\nfind_used_callee_regs() sets `ctx->fp_used = true;` when it sees FP\nbeing used in any of the instructions.\n\nFor programs acting as exception boundary, ctx->fp_used remains false\neven if frame pointer is used by the program and therefore, FP is not\nset-up for such programs in the prologue. This can cause the kernel to\ncrash due to a pagefault.\n\nFix it by setting ctx->fp_used = true for exception boundary programs as\nfp is always saved in such programs.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.002,"percentile":0.10104,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0dbef493cae7d451f740558665893c000adb2321","tags":[]},{"url":"https://git.kernel.org/stable/c/e23184725dbb72d5d02940222eee36dbba2aa422","tags":[]},{"url":"https://git.kernel.org/stable/c/1ce30231e0a2c8c361ee5f8f7f265fc17130adce","tags":[]},{"url":"https://git.kernel.org/stable/c/b114fcee766d5101eada1aca7bb5fd0a86c89b35","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":2.02},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5d4fa9ec5643a5c75d3c1e6abf50fb9284caf1ff, < 0dbef493cae7d451f740558665893c000adb2321",">= 5d4fa9ec5643a5c75d3c1e6abf50fb9284caf1ff, < e23184725dbb72d5d02940222eee36dbba2aa422",">= 5d4fa9ec5643a5c75d3c1e6abf50fb9284caf1ff, < 1ce30231e0a2c8c361ee5f8f7f265fc17130adce",">= 5d4fa9ec5643a5c75d3c1e6abf50fb9284caf1ff, < b114fcee766d5101eada1aca7bb5fd0a86c89b35"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:52:01.426451Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-27915","exploited":false,"provenance":"source"}}