NULL Pointer Dereference in Linux Kernel's PCI Keystone Subsystem

linux Updated 02 Oct 2025

Summary

17/08/2024
N/A
No i
Medium
5.5

CVE-2024-43823: In the Linux kernel, the following vulnerability has been resolved: PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs() If IORESOURCE_MEM is not provided in Device Tree due to a... 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 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 a core component of many operating systems, providing essential services for hardware management and system resources. The PCI (Peripheral Component Interconnect) subsystem is crucial for managing hardware devices connected to the system. This vulnerability affects the Keystone PCI subsystem, which is designed for specific hardware configurations. The issue arises when the Device Tree does not provide the necessary IORESOURCE_MEM, leading to potential system instability and crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the PCI Keystone subsystem, specifically in the ks_pcie_setup_rc_app_regs() function. If the IORESOURCE_MEM is missing from the Device Tree due to an error, the resource_list_first_type() function returns NULL. Consequently, the pci_parse_request_of_pci_ranges() function emits a warning but does not handle the NULL return properly, resulting in a NULL pointer dereference. This can lead to system crashes and instability, making it a critical issue for systems relying on this functionality. The vulnerability was discovered by the Linux Verification Center.

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 kernel updates as soon as they are available.

Conclusion

The CVE-2024-43823 vulnerability in the Linux kernel's PCI Keystone subsystem poses a significant risk of system crashes due to NULL pointer dereference. Users are strongly advised to update their kernel to the latest version to mitigate this issue. Regular monitoring with tools like Vulert can help ensure that your systems remain secure against such vulnerabilities.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-43823 is a vulnerability in the Linux kernel's PCI Keystone subsystem that can lead to a NULL pointer dereference, causing system crashes.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

The vulnerability can lead to system instability and crashes, particularly affecting systems that rely on the PCI Keystone subsystem.

Yes, patches are available in the latest kernel updates for Debian systems. Ensure your kernel version is updated to at least 6.1.106-1 for Debian 12 or 6.10.3-1 for Debian 13.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.

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