Kernel Panic Vulnerability in Linux Package: CVE-2024-26902

linux Updated 02 Oct 2025

Summary

17/04/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-26902: In the Linux kernel, the following vulnerability has been resolved: perf: RISCV: Fix panic on pmu overflow handler (1. Affects linux versions < 6.7.12-1. Fixed in 6.7.12-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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux package is a core component of the Debian operating system, responsible for managing hardware resources and providing essential services to applications. It is known for its stability, performance, and extensive support for various hardware architectures. However, like any complex software, it can be susceptible to vulnerabilities that may compromise system integrity and performance.

Vulnerability Detail

CVE-2024-26902 is a vulnerability in the Linux kernel that arises from a flaw in the performance monitoring unit (PMU) overflow handler for the RISC-V architecture. Specifically, the issue occurs when the kernel attempts to set bits in an unsigned long variable, leading to a kernel panic when executing the 'perf record -e branches' command on specific hardware (Sophgo sg2042). This results in a NULL pointer dereference, causing the system to crash and potentially leading to data loss or system unavailability.

How To Fix

Minimum fixed version

6.7.12-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

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it becomes available to mitigate the risk.

Conclusion

CVE-2024-26902 is a critical vulnerability in the Linux kernel that can lead to severe system instability. Users are advised to update their Linux package to the latest patched version to mitigate risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-26902 is a vulnerability in the Linux kernel that can cause a kernel panic due to a flaw in the PMU overflow handler.

This vulnerability can lead to system crashes and data loss when executing specific performance monitoring commands.

If you are using the affected versions of the Linux package on Debian 13 or 14, your system may be vulnerable. You can check your application using Vulert.

The best way to protect your system is to update the Linux package to the patched version 6.7.12-1 or later.

Vulert monitors and alerts for open-source vulnerabilities in software using a manifest file. You can check if your application is affected by this vulnerability using the Vulert playground without signing up.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.7.12-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