CVE-2024-57944: iio: adc: ti-ads1298: Add NULL check in ads1298_init
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. A check on the
return value of such a call in ads1298_init() is missing. Add it.
Security readout for executives and security teams
Plain-English summary
CVE-2024-57944 is a Linux kernel availability issue in the TI ADS1298 ADC driver. A failed memory-allocation string operation may return NULL, and the driver did not check it before continuing. The published impact is local denial of service, not data theft or privilege escalation.
Executive priority
Handle through normal kernel patch governance unless affected systems support critical operations or untrusted local users. The main business risk is local denial of service, with no sourced evidence of active exploitation or confidentiality impact.
Technical view
The issue is a CWE-476 NULL pointer dereference in ads1298_init() within the Linux kernel iio adc ti-ads1298 driver. devm_kasprintf() can fail and return NULL; missing validation can lead to a crash path. CVSS 3.1 is 5.5 with local, low-complexity, low-privilege availability impact.
Likely exposure
Exposure appears limited to Linux systems running affected kernel builds where the TI ADS1298 ADC driver is present or usable. The source bundle identifies Linux as affected and references fixes in stable kernel commits, but does not provide deployment-specific exposure details.
Exploitation context
The CVSS vector requires local access and low privileges, with no user interaction. CISA KEV status is false in the bundle, and no cited source states active exploitation. Treat this as a stability and availability risk for affected Linux deployments.
Researcher notes
The available evidence is narrow: the fix adds a missing NULL check after devm_kasprintf(). No exploit details, operational prerequisites, or distribution package names are provided in the source bundle. Validate exposure against actual kernel configuration and hardware use.
Mitigation direction
Check vendor or distribution kernel advisories for fixed packages.
Upgrade to a kernel containing the referenced stable fixes.
Prioritize systems where local users can access affected hardware paths.
If upgrade timing is uncertain, review vendor guidance for temporary mitigations.
Validation and detection
Inventory Linux kernel versions against vendor advisory data.
Confirm whether the ti-ads1298 driver is built, loaded, or deployable.
Review distribution changelogs for the referenced stable commits.
Verify post-update kernels include the NULL check in ads1298_init().
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.