<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 02 Oct 2026 18:07:07 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-72028 — riscv: probes: save original sp in rethook trampoline</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-72028</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;riscv: probes: save original sp in rethook trampoline&lt;/p&gt;
&lt;p&gt;Reading a word from the stack in a kretprobe crashes a risc-v kernel.&lt;/p&gt;
&lt;p&gt;$ cd /sys/kernel/tracing/
$ echo &amp;#39;r n_tty_write $stack0&amp;#39; &amp;gt; dynamic_events
$ echo 1 &amp;gt; events/kprobes/enable
Unable to handle kernel paging request at virtual address 0000000200000128
...
[&amp;lt;ffffffff80016d16&amp;gt;] regs_get_kernel_stack_nth+0x26/0x38
[&amp;lt;ffffffff80177196&amp;gt;] process_fetch_insn+0x3ee/0x760
[&amp;lt;ffffffff80177836&amp;gt;] kretprobe_trace_func+0x116/0x1f0
[&amp;lt;ffffffff8017795a&amp;gt;] kretprobe_dispatcher+0x4a/0x58
[&amp;lt;ffffffff8013572e&amp;gt;] kretprobe_rethook_handler+0x5e/0x90
[&amp;lt;ffffffff80180838&amp;gt;] rethook_trampoline_handler+0x70/0x108
[&amp;lt;ffffffff8001ba32&amp;gt;] arch_rethook_trampoline_callback+0x12/0x1c
[&amp;lt;ffffffff8001ba84&amp;gt;] arch_rethook_trampoline+0x48/0x94
[&amp;lt;ffffffff8067872a&amp;gt;] tty_write+0x1a/0x30&lt;/p&gt;
&lt;p&gt;In regs_get_kernel_stack_nth, regs-&amp;gt;sp contains an arbitrary value.&lt;/p&gt;
&lt;p&gt;arch_rethook_trampoline saves the registers from the probed function in a
struct pt_regs. sp is not saved. Instead, sp is decremented for
arch_rethook_trampoline&amp;#39;s local stack.&lt;/p&gt;
&lt;p&gt;Fix this crash and save the original sp along with the other registers.
Use a0 as a temporary register, it is overwritten anyway.&lt;/p&gt;
&lt;p&gt;[pjw@kernel.org: added Fixes tag; cc&amp;#39;ed stable]&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;riscv: probes: save original sp in rethook trampoline&lt;/p&gt;
&lt;p&gt;Reading a word from the stack in a kretprobe crashes a risc-v kernel.&lt;/p&gt;
&lt;p&gt;$ cd /sys/kernel/tracing/
$ echo &amp;#39;r n_tty_write $stack0&amp;#39; &amp;gt; dynamic_events
$ echo 1 &amp;gt; events/kprobes/enable
Unable to handle kernel paging request at virtual address 0000000200000128
...
[&amp;lt;ffffffff80016d16&amp;gt;] regs_get_kernel_stack_nth+0x26/0x38
[&amp;lt;ffffffff80177196&amp;gt;] process_fetch_insn+0x3ee/0x760
[&amp;lt;ffffffff80177836&amp;gt;] kretprobe_trace_func+0x116/0x1f0
[&amp;lt;ffffffff8017795a&amp;gt;] kretprobe_dispatcher+0x4a/0x58
[&amp;lt;ffffffff8013572e&amp;gt;] kretprobe_rethook_handler+0x5e/0x90
[&amp;lt;ffffffff80180838&amp;gt;] rethook_trampoline_handler+0x70/0x108
[&amp;lt;ffffffff8001ba32&amp;gt;] arch_rethook_trampoline_callback+0x12/0x1c
[&amp;lt;ffffffff8001ba84&amp;gt;] arch_rethook_trampoline+0x48/0x94
[&amp;lt;ffffffff8067872a&amp;gt;] tty_write+0x1a/0x30&lt;/p&gt;
&lt;p&gt;In regs_get_kernel_stack_nth, regs-&amp;gt;sp contains an arbitrary value.&lt;/p&gt;
&lt;p&gt;arch_rethook_trampoline saves the registers from the probed function in a
struct pt_regs. sp is not saved. Instead, sp is decremented for
arch_rethook_trampoline&amp;#39;s local stack.&lt;/p&gt;
&lt;p&gt;Fix this crash and save the original sp along with the other registers.
Use a0 as a temporary register, it is overwritten anyway.&lt;/p&gt;
&lt;p&gt;[pjw@kernel.org: added Fixes tag; cc&amp;#39;ed stable]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-72028</guid>
    </item>
  </channel>
</rss>
