CVE-2026-98273
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/10/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
x86/kprobes: Fix crash when probing CS CALL instructions<br />
<br />
When using eBPF to probe CS CALL instructions within a function,<br />
a crash can be triggered.<br />
<br />
The eBPF tool probes offset 257 of the __hrtimer_run_queues()<br />
function:<br />
<br />
: nopl 0x0(%rax,%rax,1)<br />
: mov %r14,%rdi<br />
: cs call <br />
: mov %eax,%r12d<br />
: xchg %ax,%ax<br />
: mov %r13,%rdi<br />
<br />
Which triggers this crash:<br />
<br />
BUG: unable to handle page fault for address: 00000000000f41c9<br />
#PF: supervisor write access in kernel mode<br />
#PF: error_code(0x0002) - not-present page<br />
PGD 0 P4D 0<br />
Oops: 0002 [#1] SMP NOPTI<br />
CPU: 1 PID: 0 Comm: swapper/1 Kdump: loaded Tainted: P<br />
RIP: 0010:__hrtimer_run_queues+0x106/0x230<br />
<br />
Note that __hrtimer_run_queues+0x106 is __hrtimer_run_queues+262, which is<br />
at the 6th byte of the above CS CALL instruction. Since the CS CALL<br />
instruction occupies 6 bytes, the exception occurred in the middle of that<br />
call instruction.<br />
<br />
The root cause is that when using eBPF tools to probe in the middle of a<br />
function, a kprobe with INT3 is used as the underlying implementation.<br />
<br />
During single-step emulation of the original CALL instruction,<br />
int3_emulate_call() assumes that the probed CALL instruction is 5 bytes<br />
long. However, the actual CS-prefixed CALL instruction occupies 6 bytes,<br />
so it constructs an incorrect exception return address. When the CPU<br />
returns from the kprobe handler, the next instruction to be executed is at<br />
the address of the last byte of that CS CALL instruction. Coincidentally,<br />
starting from that address, the CPU fetches and decodes a completely<br />
different instruction, which ultimately triggers a kernel crash.<br />
<br />
Fix the issue by using the actual instruction length obtained from<br />
the instruction decoder when constructing the exception return<br />
address, rather than relying on the hardcoded CALL_INSN_SIZE macro.<br />
<br />
[ mingo: Refined the changelog ]


