CVE-2024-57944 iio: adc: ti-ads1298: Add NULL check in ads1298_init
A missing NULL check in the TI ADS1298 ADC driver can cause a kernel crash if memory allocation fails, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-57944?
CVE-2024-57944 is a medium-severity vulnerability in Linux kernel, published on 21 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2024-57944?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-57944?
Apply the vendor's patch.
Is CVE-2024-57944 being exploited?
There is no known exploitation of CVE-2024-57944 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-57944, DEBIAN-CVE-2024-57944, GHSA-rrmx-hq42-947r, UBUNTU-CVE-2024-57944.