CVE-2024-57944
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-57944 affects the Linux kernel's Industrial I/O (IIO) subsystem, specifically in the TI-ADS1298 ADC driver. The vulnerability was discovered and disclosed on January 21, 2025. The issue involves a missing NULL pointer check in the ads1298init function where devmkasprintf() can return a NULL pointer on failure, but the return value is not properly validated (NVD, Debian Tracker).

Technical details

The vulnerability exists in the Linux kernel's ti-ads1298 driver, where the ads1298init function fails to check the return value of devmkasprintf(). This function can return NULL on failure, and without proper validation, it could lead to a NULL pointer dereference. The issue has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-476 (NULL Pointer Dereference) (NVD).

Impact

The vulnerability could lead to a NULL pointer dereference, potentially causing system crashes or denial of service conditions. The impact is limited to systems using the TI-ADS1298 ADC driver in the Linux kernel. The CVSS score indicates that while the vulnerability requires local access and low privileges, it could result in high availability impact (NVD).

Mitigation and workarounds

The vulnerability has been patched by adding a NULL check in the ads1298init function. The fix involves adding a validation check for the return value of devmkasprintf() and returning -ENOMEM if the allocation fails. The patch has been committed to the Linux kernel (Kernel Patch, Upstream Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management