CVE-2024-57944

iio: adc: ti-ads1298: Add NULL check in ads1298_init

State
Published
Severity
5.5 Medium
Published
Jan 21, 2025
Updated
May 11, 2026
Reserved
Jan 19, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 00ef7708fa6073a84f6898fdcdfe965d903b0378 to before 69b680bbac9bd611aaa308769d6c71e3e70eb3c3Affected
  • 00ef7708fa6073a84f6898fdcdfe965d903b0378 to before bcb394bb28e55312cace75362b8e489eb0e02a30Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.10 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.