CVE-2025-38586
Description
A flaw was found in the Linux kernel's ARM64 BPF (Berkeley Packet Filter) JIT (Just-In-Time) compiler. This vulnerability occurs when a BPF program is configured as an exception boundary, causing the frame pointer to be improperly initialized. A local attacker with low privileges could exploit this to trigger a kernel crash, resulting in a Denial of Service (DoS) for the system.
Statement
A flaw of low impact was found in the Linux kernel's ARM64 BPF JIT compiler. When a BPF program is configured as an exception boundary, find_used_callee_regs() is not called and ctx->fp_used remains false, so the frame pointer is not set up in the JIT-generated prologue even when the program uses it. A local attacker able to load a crafted BPF program acting as an exception boundary could exploit this to cause a kernel crash through a page fault, resulting in a denial of service. There is no impact on the confidentiality or integrity of the system.
The kernel and kernel-rt packages in Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, and Red Hat In-Vehicle OS 1 are affected, and the fix is currently deferred given the low security impact of this local denial-of-service condition; the residual risk is limited to system availability on the affected local host. Red Hat Enterprise Linux 6, 7, and 8 are not affected because the vulnerable code is not present in those releases.
Red Hat rates this flaw as Low severity (CVSS 4.4) because triggering it requires high privileges on the affected local system, which is lower than the NIST score of 5.5. The CVE.org score of 7.8, which includes high confidentiality and integrity impacts, is not supported by the technical evidence, which demonstrates only a denial-of-service impact.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.4 | 5.5 | 7.8 |
| Attack Vector | Local | Local | Local |
| Attack Complexity | Low | Low | Low |
| Privileges Required | High | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | None | None | High |
| Integrity Impact | None | None | High |
| Availability Impact | High | High | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.