CVE-2024-26595: linux-libc-dev - Fix NULL pointer dereference in error path

linux Updated 02 Oct 2025

Summary

23/02/2024
No i
Medium
5.5

CVE-2024-26595: In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path When calling mlxsw_sp_acl_tcam_region_destroy() from an error path after failing to... 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

linux-libc-dev is a package in the Debian operating system that provides the C library development files for the Linux kernel. These files are necessary for compiling and linking programs that use the C library. The linux-libc-dev package is an essential component for building and running applications on Debian-based systems. However, a vulnerability has been discovered in the package that could lead to a NULL pointer dereference in certain error scenarios.

Vulnerability Detail

The vulnerability in linux-libc-dev, identified as CVE-2024-26595, arises from a NULL pointer dereference in the mlxsw_sp_acl_tcam_region_destroy() function. This function is called when attempting to destroy a region that failed to attach to an ACL group. The issue occurs due to a missing check for a NULL pointer in the 'tcam' field of the 'group' structure. As a result, a NULL pointer dereference occurs, leading to a kernel crash or potential privilege escalation. This vulnerability has a CVSS score of 5.5, indicating a medium severity level.

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

There is no known workaround for this vulnerability. It is essential to apply the provided fix by updating the linux-libc-dev package to the patched version.

Conclusion

The vulnerability in linux-libc-dev (CVE-2024-26595) has been identified and addressed. It is crucial to update the linux-libc-dev package to version 6.1.90-1 or later to mitigate the risk of a NULL pointer dereference. Users should apply the provided fix and rebuild any affected applications to ensure they are using the patched version of the C library. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

linux-libc-dev is a package in the Debian operating system that provides the C library development files for the Linux kernel. These files are necessary for compiling and linking programs that use the C library.

The vulnerability in linux-libc-dev could lead to a NULL pointer dereference, resulting in a kernel crash or potential privilege escalation. An attacker may be able to exploit this vulnerability to execute arbitrary code or disrupt the normal operation of the system.

A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that has not been assigned a valid memory address (i.e., it points to NULL). This can lead to crashes, unexpected behavior, or security vulnerabilities.

The CVSS score of this vulnerability is 5.5, indicating a medium severity level. CVSS (Common Vulnerability Scoring System) is a standardized method for assessing the severity of security vulnerabilities.

To update the linux-libc-dev package, you can use the package manager of your Debian-based distribution. For example, you can run 'sudo apt-get update' followed by 'sudo apt-get upgrade linux-libc-dev' to install the latest version available in the official Debian repositories.

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