In the Linux kernel, the following vulnerability has been resolved: bpf, arm64: set up the frame pointer for the exception callback A program acting… (CVE-2026-98641)
Description
A vulnerability in the Linux kernel's BPF subsystem on arm64 architecture was resolved by properly setting the frame pointer for the exception callback. The flaw caused the callback prologue to omit setting the frame pointer register, leading to potential use of stale stack frame pointers from subprograms that never return. This could allow a helper function to overwrite its own return address, potentially causing a kernel panic or fatal exception. The fix ensures the frame pointer register is correctly set on the exception callback path, preventing this unsafe condition.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel BPF subsystem on arm64 had a vulnerability where the exception callback path did not set the frame pointer register (x25) correctly. Because the callback prologue skipped push_callee_regs(), the frame pointer was not updated and retained the value from a subprogram's frame that never returned. Stack accesses through BPF_REG_FP were rewritten relative to the stack pointer, but materializing the register passed stale addresses to helpers. This allowed helpers to write over their own return address, causing kernel panics. The patch sets ctx->fp_used on the exception callback path so that x25 is set from the stack pointer, restoring correct frame pointer behavior and preventing the issue.
Potential Impact
The vulnerability could lead to kernel panics or fatal exceptions due to helpers overwriting their own return addresses when handling BPF exception callbacks on arm64. This undermines kernel stability and could potentially be leveraged to disrupt system operation. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to set the frame pointer correctly on the exception callback path for arm64 BPF programs. Users should apply the official kernel updates that include this patch to remediate the vulnerability. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rmw7-mmh2-5m8g
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98641"]
Threat ID: 6ad520ad2cdf04f656993a5e
Added to database: 10/18/2026, 19:40:29 UTC
Last enriched: 10/18/2026, 21:48:16 UTC
Last updated: 10/19/2026, 00:28:09 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.