Bug 2338841 (CVE-2024-57904) - CVE-2024-57904 kernel: iio: adc: at91: call input_free_device() on allocated iio_dev
Summary: CVE-2024-57904 kernel: iio: adc: at91: call input_free_device() on allocated ...
Keywords:
Status: NEW
Alias: CVE-2024-57904
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-19 12:01 UTC by OSIDB Bzimport
Modified: 2025-01-20 06:03 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-01-19 12:01:37 UTC
In the Linux kernel, the following vulnerability has been resolved:

iio: adc: at91: call input_free_device() on allocated iio_dev

Current implementation of at91_ts_register() calls input_free_deivce()
on st->ts_input, however, the err label can be reached before the
allocated iio_dev is stored to st->ts_input. Thus call
input_free_device() on input instead of st->ts_input.

Comment 1 Avinash Hanwate 2025-01-20 05:49:57 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011934-CVE-2024-57904-dac5@gregkh/T


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