Kernel Panic Vulnerability in Linux Package: CVE-2023-52978

linux Updated 02 Oct 2025

Summary

27/03/2025
N/A
Yes i
Medium
5.5

CVE-2023-52978: 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. Affects linux versions < 6.1.11-1. Fixed in 6.1.11-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of hardware architectures and is known for its stability and performance. However, vulnerabilities can arise, such as CVE-2023-52978, which affects the kernel's handling of kprobes, potentially leading to critical system failures.

Vulnerability Detail

CVE-2023-52978 is a vulnerability in the Linux kernel that can cause a kernel panic when probing an illegal position using kprobes. This occurs when the ebreak instruction of a kprobe disrupts the original kernel code, leading to a corrupted kernel stack. The panic can be triggered by improperly configured kprobe events, which can result in system instability and crashes. The vulnerability is particularly concerning for systems that rely on kprobes for debugging and monitoring.

How To Fix

Minimum fixed version

6.1.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, ensure that kprobes are configured correctly and avoid probing illegal positions. Users should verify the correctness of the probe position before enabling kprobes to prevent kernel panics.

Conclusion

CVE-2023-52978 is a critical vulnerability in the Linux kernel that can lead to kernel panics due to improper kprobe configurations. It is essential to update to the patched version of the Linux package to mitigate this risk. Users should also be cautious with kprobe configurations to avoid triggering this vulnerability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-52978 is a vulnerability in the Linux kernel that can lead to kernel panics when kprobes are used incorrectly.

If exploited, this vulnerability can cause your system to crash, leading to potential data loss and downtime.

Kprobes are a debugging mechanism in the Linux kernel that allows users to dynamically break into any kernel routine and collect debugging information.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

Yes, ensuring that kprobes are configured correctly and avoiding illegal probe positions can help prevent exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback