{"id":"CVE-2024-57944","summary":"iio: adc: ti-ads1298: Add NULL check in ads1298_init","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ti-ads1298: Add NULL check in ads1298_init\n\ndevm_kasprintf() can return a NULL pointer on failure. A check on the\nreturn value of such a call in ads1298_init() is missing. Add it.","modified":"2026-04-02T12:25:25.808850Z","published":"2025-01-21T12:18:11.882Z","related":["USN-7379-2","USN-7380-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57944.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/69b680bbac9bd611aaa308769d6c71e3e70eb3c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcb394bb28e55312cace75362b8e489eb0e02a30"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57944.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57944"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"00ef7708fa6073a84f6898fdcdfe965d903b0378"},{"fixed":"69b680bbac9bd611aaa308769d6c71e3e70eb3c3"},{"fixed":"bcb394bb28e55312cace75362b8e489eb0e02a30"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57944.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}