Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98273 Overview
CVE-2026-98273 is a Linux kernel vulnerability in the x86 kprobes subsystem. The flaw causes a kernel crash when eBPF tools probe CS CALL instructions inside a function. The issue stems from int3_emulate_call() assuming a fixed 5-byte CALL instruction length, while a CS-prefixed CALL occupies 6 bytes. This mismatch produces an incorrect return address, causing the CPU to execute from the middle of the original instruction and triggering a page fault.
Critical Impact
Local users with kprobe or eBPF privileges can trigger a kernel page fault, resulting in a denial-of-service condition on affected x86 Linux systems.
Affected Products
- Linux kernel (x86/x86_64 architectures) — mainline branches prior to the referenced stable fix commits
- Distributions shipping affected kernel builds with eBPF and kprobes enabled
- Systems using eBPF-based tracing tools that attach probes to arbitrary function offsets
Discovery Timeline
- 2026-10-06 - CVE-2026-98273 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98273
Vulnerability Analysis
The vulnerability resides in the x86 kprobes single-step emulation logic for CALL instructions. When an eBPF user probes an offset that lands on a CS-prefixed indirect CALL, the kernel installs an INT3 breakpoint at that address. On breakpoint entry, int3_emulate_call() constructs the return address by adding the hardcoded CALL_INSN_SIZE (5 bytes) to the probed instruction pointer.
A CS CALL instruction, however, is 6 bytes long due to the CS segment-override prefix. The emulator therefore pushes a return address pointing to the final byte of the original CALL. When control returns from the called thunk, the CPU decodes bytes starting from inside the original instruction, producing an undefined instruction stream and ultimately a page fault such as BUG: unable to handle page fault for address: 00000000000f41c9.
The crash reproduces reliably when probing offset 257 of __hrtimer_run_queues(), where a cs call <__x86_indirect_thunk_r12> sequence appears as part of Spectre v2 retpoline mitigations.
Root Cause
The root cause is the use of the hardcoded CALL_INSN_SIZE macro inside int3_emulate_call(). This assumption breaks for prefixed CALL variants such as CS CALL, which the compiler emits for indirect branch thunks on hardened kernels. The fix replaces the hardcoded length with the actual instruction length returned by the kernel's instruction decoder.
Attack Vector
Exploitation requires local privileges to install kprobes or load eBPF tracing programs, typically CAP_BPF, CAP_PERFMON, or CAP_SYS_ADMIN. An attacker with those privileges can attach a probe to any address within a function body that falls on a prefixed CALL, producing a reliable kernel oops and taking the system offline.
The vulnerability is a kernel-mode logic flaw ([Kernel Vulnerability]) rather than a memory corruption primitive. No code example is reproduced here; see the upstream commits for the exact patch.
Detection Methods for CVE-2026-98273
Indicators of Compromise
- Kernel panic or oops messages referencing __hrtimer_run_queues or other functions containing __x86_indirect_thunk_* targets
- BUG: unable to handle page fault entries where the faulting RIP lands mid-instruction after an INT3 breakpoint
- Unexpected loading of eBPF programs that attach kprobe or kretprobe events at non-function-entry offsets
Detection Strategies
- Monitor kernel ring buffer (dmesg) and /var/log/kern.log for repeated oops events traced to kprobe emulation paths
- Audit bpf() syscall usage, particularly BPF_PROG_LOAD for BPF_PROG_TYPE_KPROBE programs attaching to arbitrary offsets
- Correlate crash dumps with recently installed tracing agents or performance tools using perf, bpftrace, or bcc
Monitoring Recommendations
- Enable kdump to capture complete kernel core dumps for post-crash analysis
- Track changes to /sys/kernel/debug/tracing/kprobe_events and /sys/kernel/tracing/kprobe_events
- Alert on non-root processes that acquire CAP_BPF or CAP_PERFMON capabilities
How to Mitigate CVE-2026-98273
Immediate Actions Required
- Apply the upstream stable kernel patches referenced in the Kernel Git Commit a5f7a5bb, Kernel Git Commit cfc1af3d, and Kernel Git Commit d8c6a18c
- Restrict CAP_BPF, CAP_PERFMON, and CAP_SYS_ADMIN to trusted administrative accounts
- Review and remove unnecessary eBPF tracing agents from production hosts until patches are deployed
Patch Information
The fix modifies int3_emulate_call() to use the actual instruction length reported by the kernel instruction decoder instead of the hardcoded CALL_INSN_SIZE macro. Rebuild and deploy a kernel containing the three referenced stable commits, or install vendor-provided updates once distributions publish backports.
Workarounds
- Disable eBPF-based kprobe attachment by setting kernel.unprivileged_bpf_disabled=1 and limiting perf_event_paranoid
- Avoid attaching probes to non-function-entry offsets, especially addresses within retpoline or indirect-thunk call sites
- Where feasible, boot with nokprobes or restrict /sys/kernel/debug/tracing access via mount options and SELinux policy
# Harden eBPF and kprobe exposure until patched kernel is deployed
sysctl -w kernel.unprivileged_bpf_disabled=1
sysctl -w kernel.perf_event_paranoid=3
sysctl -w kernel.kptr_restrict=2
mount -o remount,mode=700 /sys/kernel/debug
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

