Menu

Star on GitHub · 3.4k

CVE-2023-52978

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: riscv: kprobe: Fixup kernel panic when probing an illegal position The kernel would panic when probed for an illegal position.

Published Mar 27, 2025EPSS 0.26%

Overview

CVE-2023-52978 is a medium-severity vulnerability. It was published on March 27, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

riscv: kprobe: Fixup kernel panic when probing an illegal position

The kernel would panic when probed for an illegal position. eg:

(CONFIG_RISCV_ISA_C=n)

echo 'p:hello kernel_clone+0x16 a0=%a0' >> kprobe_events

echo 1 > events/kprobes/hello/enable

cat trace

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:

[<ffffffff80007268>] dump_backtrace+0x38/0x48

[<ffffffff80c5e83c>] show_stack+0x50/0x68

[<ffffffff80c6da28>] dump_stack_lvl+0x60/0x84

[<ffffffff80c6da6c>] dump_stack+0x20/0x30

[<ffffffff80c5ecf4>] panic+0x160/0x374

[<ffffffff80c6db94>] generic_handle_arch_irq+0x0/0xa8

[<ffffffff802deeb0>] sys_newstat+0x0/0x30

[<ffffffff800158c0>] sys_clone+0x20/0x30

[<ffffffff800039e8>] ret_from_syscall+0x0/0x4

---[ end Kernel panic - not syncing: stack-p

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-52978?

CVE-2023-52978 is a medium-severity vulnerability. It was published on March 27, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-52978?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52978?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52978?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52978 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2023

View all
LiveWatch live →