CVE-2026-72028

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
30/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> riscv: probes: save original sp in rethook trampoline<br /> <br /> Reading a word from the stack in a kretprobe crashes a risc-v kernel.<br /> <br /> $ cd /sys/kernel/tracing/<br /> $ echo &amp;#39;r n_tty_write $stack0&amp;#39; &gt; dynamic_events<br /> $ echo 1 &gt; events/kprobes/enable<br /> Unable to handle kernel paging request at virtual address 0000000200000128<br /> ...<br /> [] regs_get_kernel_stack_nth+0x26/0x38<br /> [] process_fetch_insn+0x3ee/0x760<br /> [] kretprobe_trace_func+0x116/0x1f0<br /> [] kretprobe_dispatcher+0x4a/0x58<br /> [] kretprobe_rethook_handler+0x5e/0x90<br /> [] rethook_trampoline_handler+0x70/0x108<br /> [] arch_rethook_trampoline_callback+0x12/0x1c<br /> [] arch_rethook_trampoline+0x48/0x94<br /> [] tty_write+0x1a/0x30<br /> <br /> In regs_get_kernel_stack_nth, regs-&gt;sp contains an arbitrary value.<br /> <br /> arch_rethook_trampoline saves the registers from the probed function in a<br /> struct pt_regs. sp is not saved. Instead, sp is decremented for<br /> arch_rethook_trampoline&amp;#39;s local stack.<br /> <br /> Fix this crash and save the original sp along with the other registers.<br /> Use a0 as a temporary register, it is overwritten anyway.<br /> <br /> [pjw@kernel.org: added Fixes tag; cc&amp;#39;ed stable]

Impact