CVE-2025-38586CWE-476

CVE-2025-38586

High · published August 19, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
6.8
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

bpf, arm64: Fix fp initialization for exception boundary

In the ARM64 BPF JIT when prog->aux->exception_boundary is set for a BPF

program, find_used_callee_regs() is not called because for a program

acting as exception boundary, all callee saved registers are saved.

find_used_callee_regs() sets `ctx->fp_used = true;` when it sees FP

being used in any of the instructions.

For programs acting as exception boundary, ctx->fp_used remains false

even if frame pointer is used by the program and therefore, FP is not

set-up for such programs in the prologue. This can cause the kernel to

crash due to a pagefault.

Fix it by setting ctx->fp_used = true for exception boundary programs as

fp is always saved in such programs.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00176 · 6.8th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-08-19T21:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.12, < 6.12.426.12.42
linux/linux_kernel≥ 6.13, < 6.15.106.15.10
linux/linux_kernel≥ 6.16, < 6.16.16.16.1
References (4)
EPSS history
Timeline
  • 19 AUG 17:03Z
    bpf, arm64: Fix fp initialization for exception boundary
    cvelistv5