<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T01:52:45.230385+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2023-52978</id>
    <title>CVE-2023-52978 — riscv: kprobe: Fixup kernel panic when probing an illegal position</title>
    <updated>2026-10-04T01:52:45.524819+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>riscv: kprobe: Fixup kernel panic when probing an illegal position</p>
<p>The kernel would panic when probed for an illegal position. eg:</p>
<p>(CONFIG_RISCV_ISA_C=n)</p>
<p>echo 'p:hello kernel_clone+0x16 a0=%a0' &gt;&gt; kprobe_events
echo 1 &gt; events/kprobes/hello/enable
cat trace</p>
<p>Kernel panic - not syncing: stack-protector: Kernel stack
is corrupted in: __do_sys_newfstatat+0xb8/0xb8
CPU: 0 PID: 111 Comm: sh Not tainted
6.2.0-rc1-00027-g2d398fe49a4d #490
Hardware name: riscv-virtio,qemu (DT)
Call Trace:
[&lt;ffffffff80007268&gt;] dump_backtrace+0x38/0x48
[&lt;ffffffff80c5e83c&gt;] show_stack+0x50/0x68
[&lt;ffffffff80c6da28&gt;] dump_stack_lvl+0x60/0x84
[&lt;ffffffff80c6da6c&gt;] dump_stack+0x20/0x30
[&lt;ffffffff80c5ecf4&gt;] panic+0x160/0x374
[&lt;ffffffff80c6db94&gt;] generic_handle_arch_irq+0x0/0xa8
[&lt;ffffffff802deeb0&gt;] sys_newstat+0x0/0x30
[&lt;ffffffff800158c0&gt;] sys_clone+0x20/0x30
[&lt;ffffffff800039e8&gt;] ret_from_syscall+0x0/0x4
---[ end Kernel panic - not syncing: stack-protector:
Kernel stack is corrupted in: __do_sys_newfstatat+0xb8/0xb8 ]---</p>
<p>That is because the kprobe's ebreak instruction broke the kernel's
original code. The user should guarantee the correction of the probe
position, but it couldn't make the kernel panic.</p>
<p>This patch adds arch_check_kprobe in arch_prepare_kprobe to prevent an
illegal position (Such as the middle of an instruction).</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2023-52978"/>
  </entry>
</feed>
