Bug 2339125 (CVE-2024-57944) - CVE-2024-57944 kernel: iio: adc: ti-ads1298: Add NULL check in ads1298_init
Summary: CVE-2024-57944 kernel: iio: adc: ti-ads1298: Add NULL check in ads1298_init
Keywords:
Status: NEW
Alias: CVE-2024-57944
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-21 13:01 UTC by OSIDB Bzimport
Modified: 2025-01-21 19:02 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-01-21 13:01:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.