CVE-2025-38586: bpf, arm64: Fix fp initialization for exception boundary

Published Aug 19, 2025
·
Updated

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->exceptionboundary is set for a BPF program, findusedcalleeregs() is not called because for a program acting as exception boundary, all callee saved registers are saved. findusedcalleeregs() sets ctx->fpused = true; when it sees FP being used in any of the instructions.

For programs acting as exception boundary, ctx->fpused 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->fpused = true for exception boundary programs as fp is always saved in such programs.

Affected Software

4 affected components
Linux Kernel
Linux Linux kernel>=6.12<6.12.42
Linux Linux kernel>=6.13<6.15.10
Linux Linux kernel>=6.16<6.16.1

Event History

Aug 19, 2025
CVE Published
via MITRE·05:03 PM
Data Sourced
via MITRE·05:03 PM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38586?

CVE-2025-38586 is categorized as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-38586?

To fix CVE-2025-38586, ensure that you update to the latest patched version of the Linux kernel where the vulnerability has been resolved.

3

What type of systems are affected by CVE-2025-38586?

CVE-2025-38586 affects systems running the Linux Kernel where BPF programs utilize the ARM64 architecture.

4

What functionality is impacted by CVE-2025-38586?

CVE-2025-38586 impacts the initialization of floating-point registers in the ARM64 BPF JIT under certain programming conditions.

5

Is CVE-2025-38586 likely to be exploited?

While the likelihood of exploitation depends on specific use cases, the presence of this vulnerability does pose a risk in environments where affected software is deployed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203