CVE-2024-57904

published 19 Jan 2025 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 028a1ba8e3bae593d701aee4f690ce7c195b67d6, Kernel 09e067e3c83e0695d338e8a26916e3c2bc44be02, Kernel 25ef52f1c15db67d890b80203a911b9a57b0bf71 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.16, >=84882b060301c35ab7e2c1ef355b0bd06b764195 <028a1ba8e3bae593d701aee4f690ce7c195b67d6, >=84882b060301c35ab7e2c1ef355b0bd06b764195 <09e067e3c83e0695d338e8a26916e3c2bc44be02, >=84882b060301c35ab7e2c1ef355b0bd06b764195 <25ef52f1c15db67d890b80203a911b9a57b0bf71, >=84882b060301c35ab7e2c1ef355b0bd06b764195 <ac8d932e3214c10ec641ad45a253929a596ead62, >=84882b060301c35ab7e2c1ef355b0bd06b764195 <b549c90bfe66f704878aa1e57b30ba15dab71935, >=84882b060301c35ab7e2c1ef355b0bd06b764195 <d115b7f3ddc03b38bb7e8754601556fe9b4fc034, >=84882b060301c35ab7e2c1ef355b0bd06b764195 <de6a73bad1743e9e81ea5a24c178c67429ff510b028a1ba8e3bae593d701aee4f690ce7c195b67d6, 09e067e3c83e0695d338e8a26916e3c2bc44be02, 25ef52f1c15db67d890b80203a911b9a57b0bf71, ac8d932e3214c10ec641ad45a253929a596ead62, b549c90bfe66f704878aa1e57b30ba15dab71935, d115b7f3ddc03b38bb7e8754601556fe9b4fc034, de6a73bad1743e9e81ea5a24c178c67429ff510b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-57904 severity on Zeptric[![CVE-2024-57904](https://zeptric.io/badge/cve/CVE-2024-57904.svg)](https://zeptric.io/cve/CVE-2024-57904)