Critical Vulnerability in Linux Package: NULL Pointer Dereference in GPIO Handling

linux Updated 02 Oct 2025

Summary

09/11/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-50224: In the Linux kernel, the following vulnerability has been resolved: spi: spi-fsl-dspi: Fix crash when not using GPIO chip select Add check for the return value of spi_get_csgpiod() to avoid passing a NULL pointer to gpio... Affects linux versions < 6.11.7-1. Fixed in 6.11.7-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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux package is a core component of the Debian operating system, responsible for managing hardware interactions and system resources. It provides essential functionalities for device drivers, file systems, and process management. This package is crucial for system stability and performance, making it a key target for vulnerabilities that could compromise system integrity.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2024-50224 arises from a NULL pointer dereference in the GPIO handling code of the Linux kernel. Specifically, the issue occurs in the spi-fsl-dspi driver when the GPIO chip select is not used, leading to a crash. This vulnerability can result in system instability, causing unexpected reboots or crashes, which may affect the availability of services running on the affected systems. The technical details indicate that the crash is triggered by the failure to check the return value of the spi_get_csgpiod() function, allowing a NULL pointer to be passed to gpiod_direction_output().

How To Fix

Minimum fixed version

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

As a temporary workaround, users can avoid using the GPIO chip select feature in the spi-fsl-dspi driver until the package is updated. This may prevent the crash from occurring, but it is recommended to apply the patch as soon as possible for full protection.

Conclusion

The vulnerability DEBIAN-CVE-2024-50224 in the Linux package poses a significant risk due to its potential to cause system crashes. It is crucial for users to update to the patched version 6.11.7-1 to ensure system stability and security. Temporary workarounds are available, but applying the patch is the best course of action.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

DEBIAN-CVE-2024-50224 is a vulnerability in the Linux kernel that can cause a system crash due to a NULL pointer dereference in GPIO handling.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability can lead to system instability, causing unexpected crashes or reboots, which may disrupt services and affect system performance.

Yes, the patch is available in version 6.11.7-1 of the Linux package. Users should update to this version to mitigate the vulnerability.

If you cannot update immediately, avoid using the GPIO chip select feature in the spi-fsl-dspi driver as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

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