Critical NULL Pointer Dereference Vulnerability in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

21/10/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-49941: In the Linux kernel, the following vulnerability has been resolved: gpiolib: Fix potential NULL pointer dereference in gpiod_get_label() In gpiod_get_label(), it is possible that srcu_dereference_check() may return a NUL... Affects linux versions < 6.11.4-1. Fixed in 6.11.4-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 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 the core component of many operating systems, including Debian. It manages system resources and hardware communication, providing essential services for software applications. The kernel is designed to be robust and secure, but vulnerabilities can arise, potentially compromising system stability and security. This specific vulnerability affects the gpiolib subsystem, which handles GPIO (General Purpose Input/Output) pins, allowing software to interact with hardware components.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the gpiolib subsystem, specifically within the function gpiod_get_label(). The issue arises when the function srcu_dereference_check() returns a NULL pointer, leading to a potential NULL pointer dereference when accessing label->str. If the label pointer is NULL, accessing label->str can cause a system crash or unexpected behavior. This vulnerability could be exploited in scenarios where GPIO labels are accessed without proper validation, potentially leading to system instability.

How To Fix

Minimum fixed version

6.11.4-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. The best course of action is to apply the patch by updating the package as described above.

Conclusion

The identified vulnerability in the Linux kernel's gpiolib subsystem poses a significant risk due to potential NULL pointer dereference issues. It is crucial for users to update to the patched version to ensure system stability and security. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the integrity of your software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to a NULL pointer dereference, potentially causing system crashes or unexpected behavior when accessing GPIO labels.

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.

Yes, a patch is available in version 6.11.4-1 of the Linux package. It is recommended to update to this version or later.

While there are no specific workarounds, it is crucial to prioritize updating the package to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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