CVE-2024-57944

medium

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.

References

https://git.kernel.org/stable/c/bcb394bb28e55312cace75362b8e489eb0e02a30

https://git.kernel.org/stable/c/69b680bbac9bd611aaa308769d6c71e3e70eb3c3

Details

Source: Mitre, NVD

Published: 2025-01-21

Updated: 2025-01-22

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium