Critical NULL Pointer Dereference in Linux Kernel's APLIC Driver

linux Updated 02 Oct 2025

Summary

28/12/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-56682: In the Linux kernel, the following vulnerability has been resolved: irqchip/riscv-aplic: Prevent crash when MSI domain is missing If the APLIC driver is probed before the IMSIC driver, the parent MSI domain will be missi... Affects linux versions < 6.12.3-1. Fixed in 6.12.3-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 kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It is highly modular, allowing for various drivers to be loaded dynamically. The APLIC (Advanced Programmable Interrupt Controller) driver is designed to manage interrupt requests in RISC-V architecture. This vulnerability arises when the APLIC driver is loaded before the IMSIC (Interrupt Management System for Interrupt Controllers) driver, leading to a critical failure in the system.

Vulnerability Detail

In the Linux kernel, a vulnerability exists in the APLIC driver where a NULL pointer dereference occurs if the driver is probed before the IMSIC driver. This situation leads to a crash, as the parent MSI (Message Signaled Interrupt) domain is missing, causing the system to fail during operation. The vulnerability is identified as DEBIAN-CVE-2024-56682 and affects Debian versions 13 and 14. The issue can be exploited if the system is not properly configured, potentially leading to system instability and denial of service.

How To Fix

Minimum fixed version

6.12.3-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. However, ensuring that the IMSIC driver is loaded before the APLIC driver may help mitigate the issue until a proper fix is applied.

Conclusion

The vulnerability identified as DEBIAN-CVE-2024-56682 in the Linux kernel's APLIC driver poses a significant risk due to a NULL pointer dereference that can lead to system crashes. It is crucial to update to the patched version 6.12.3-1 to mitigate this risk. Users are encouraged to monitor their systems for vulnerabilities using tools like Vulert.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A NULL pointer dereference occurs when a program attempts to access memory at a location that has not been initialized, leading to a crash or unexpected behavior.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The consequences include potential system crashes and instability, which can lead to denial of service and affect the overall performance of the system.

Yes, this vulnerability specifically affects Debian versions 13 and 14 of the Linux kernel.

If you cannot update your system immediately, ensure that the IMSIC driver is loaded before the APLIC driver to minimize the risk of encountering this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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