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

linux Updated 02 Oct 2025

Summary

27/09/2024
N/A
No i
Medium
5.5

CVE-2024-46823: In the Linux kernel, the following vulnerability has been resolved: kunit/overflow: Fix UB in overflow_allocation_test The 'device_name' array doesn't exist out of the 'overflow_allocation_test' function scope. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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 a core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It is widely used in various distributions, including Debian. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes, data loss, or unauthorized access. This specific vulnerability, CVE-2024-46823, affects the kernel's handling of driver names, potentially causing kernel panics when certain conditions are met.

Vulnerability Detail

CVE-2024-46823 is a vulnerability in the Linux kernel related to the 'overflow_allocation_test' function. The issue arises from the improper use of the 'device_name' array, which is defined within the function's scope but is incorrectly referenced outside of it when calling 'kunit_driver_create' from 'kunit_device_register'. This misuse can lead to undefined behavior and kernel panic, especially when Kernel Address Sanitizer (KASAN) is enabled. The vulnerability poses a risk of system instability and crashes, which can disrupt services and affect user experience.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the fix as described above. However, users can temporarily disable KASAN if they are experiencing kernel panics related to this issue, although this is not a recommended long-term solution.

Conclusion

CVE-2024-46823 represents a significant vulnerability in the Linux kernel that can lead to kernel panics and system instability. It is crucial for users and developers to understand the implications of this vulnerability and take the necessary steps to apply the fix. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security and stability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-46823 is a vulnerability in the Linux kernel that can cause kernel panic due to improper handling of driver names.

This vulnerability can lead to system crashes and instability, particularly when KASAN is enabled, disrupting services and user experience.

You should apply the fix by modifying the kernel code as described and recompiling the kernel to eliminate the vulnerability.

There are no specific workarounds available. It is recommended to apply the fix directly to the kernel code.

You can use Vulert, which monitors open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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