5.5medium
iio: adc: ti-ads1298: Add NULL check in ads1298_init
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 00ef7708fa6073a84f6898fdcdfe965d903b0378 before 69b680bbac9bd611aaa308769d6c71e3e70eb3c3, from 00ef7708fa6073a84f6898fdcdfe965d903b0378 before bcb394bb28e55312cace75362b8e489eb0e02a30, 6.9 Not affected: before 6.9, from 6.12.10 up to 6.12.*, from 6.13 up to * | CVE List |
| linux linux_kernel | from 6.9 before 6.12.10, 6.13 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: adc: ti-ads1298: Agregar comprobación NULL en ads1298_init devm_kasprintf() puede devolver un puntero NULL en caso de error. Falta una comprobación del valor de retorno de dicha llamada en ads1298_init(). Añádala.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-57944 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-57944 changed 2026-06-17 | Public domain |