{"id":"CVE-2025-38586","title":"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 n…","summary":"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 n…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-476","CWE-908"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 6.12, < 6.12.42","linux_kernel >= 6.13, < 6.15.10","linux_kernel >= 6.16, < 6.16.1"],"patched":["linux_kernel 6.16.1"],"published":"2025-08-19","updated":"2026-10-15","sourceUpdated":"2026-10-15T22:18:46.390","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-38586","references":[{"url":"https://git.kernel.org/stable/c/0dbef493cae7d451f740558665893c000adb2321","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/1ce30231e0a2c8c361ee5f8f7f265fc17130adce","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b114fcee766d5101eada1aca7bb5fd0a86c89b35","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e23184725dbb72d5d02940222eee36dbba2aa422","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-38586.json"},{"url":"https://access.redhat.com/security/cve/CVE-2025-38586"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2389486"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-38586"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38586"},{"url":"https://lore.kernel.org/linux-cve-announce/2025081915-CVE-2025-38586-789b@gregkh/T"}],"tags":["nvd","csaf","vex","red-hat","cve.org","score-dispute"],"epss":0.00176,"epssPercentile":0.07058,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:52:01.426451Z"},"scores":{"nvd":7.8,"vendor":4.4,"cna":7.8},"ingestedAt":"2026-10-15T22:48:25.514Z","slug":"CVE-2025-38586","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `linux_kernel >= 6.12, < 6.12.42`\n- `linux_kernel >= 6.13, < 6.15.10`\n- `linux_kernel >= 6.16, < 6.16.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.16.1`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-38586.json)","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":230055,"id":"CVE-2025-38586","ts":1793124778153,"field":"cvss","old":"4.4","new":"7.8"},{"seq":230054,"id":"CVE-2025-38586","ts":1793124778153,"field":"severity","old":"medium","new":"high"},{"seq":223574,"id":"CVE-2025-38586","ts":1792238319156,"field":"cvss","old":"7.8","new":"4.4"},{"seq":223573,"id":"CVE-2025-38586","ts":1792238319156,"field":"severity","old":"high","new":"medium"}]}