Critical NULL Pointer Dereference Vulnerability in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

21/01/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-57944: In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: Add NULL check in ads1298_init devm_kasprintf() can return a NULL pointer on failure. Affects linux versions < 6.12.10-1. Fixed in 6.12.10-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 Penetration testing for web, API and mobile 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, providing essential services for hardware and software interaction. It is responsible for managing system resources and facilitating communication between hardware and applications. The kernel is highly modular, allowing for various drivers and subsystems to be included or excluded based on user needs. However, like any complex software, it is susceptible to vulnerabilities that can compromise system stability and security.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the 'iio: adc: ti-ads1298' driver, specifically in the 'ads1298_init' function. The issue arises from a missing NULL check on the return value of the 'devm_kasprintf()' function, which can lead to a NULL pointer dereference. This oversight can result in system crashes or unpredictable behavior when the function fails to allocate memory. The vulnerability is classified as critical due to its potential to disrupt system operations and compromise the integrity of applications relying on the affected driver.

How To Fix

Minimum fixed version

6.12.10-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 available for this vulnerability. It is recommended to apply the patch as soon as it is feasible.

Conclusion

The identified NULL pointer dereference vulnerability in the Linux kernel's 'iio: adc: ti-ads1298' driver poses significant risks to system stability and security. Users are urged to update to the patched version '6.12.10-1' to mitigate these risks. Regular monitoring and prompt updates are essential for maintaining system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a NULL pointer dereference in the Linux kernel's 'iio: adc: ti-ads1298' driver, which can lead to system crashes.

If you are using a version of the Linux kernel prior to '6.12.10-1', your system may be vulnerable. You can check your kernel version using the command 'uname -r'.

The vulnerability can cause system instability, crashes, and potentially allow for exploitation by malicious actors.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software by analyzing a manifest file like package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground.

If an immediate update is not possible, ensure that your system is not exposed to untrusted networks and limit access to sensitive applications until the patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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