{"id":"CVE-2024-57904","published":"2025-01-19T11:52:28Z","modified":"2026-05-11T21:00:16Z","title":"iio: adc: at91: call input_free_device() on allocated iio_dev","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: at91: call input_free_device() on allocated iio_dev\n\nCurrent implementation of at91_ts_register() calls input_free_deivce()\non st->ts_input, however, the err label can be reached before the\nallocated iio_dev is stored to st->ts_input. Thus call\ninput_free_device() on input instead of st->ts_input.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00327,"percentile":0.18273,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b549c90bfe66f704878aa1e57b30ba15dab71935","tags":[]},{"url":"https://git.kernel.org/stable/c/ac8d932e3214c10ec641ad45a253929a596ead62","tags":[]},{"url":"https://git.kernel.org/stable/c/028a1ba8e3bae593d701aee4f690ce7c195b67d6","tags":[]},{"url":"https://git.kernel.org/stable/c/25ef52f1c15db67d890b80203a911b9a57b0bf71","tags":[]},{"url":"https://git.kernel.org/stable/c/09e067e3c83e0695d338e8a26916e3c2bc44be02","tags":[]},{"url":"https://git.kernel.org/stable/c/d115b7f3ddc03b38bb7e8754601556fe9b4fc034","tags":[]},{"url":"https://git.kernel.org/stable/c/de6a73bad1743e9e81ea5a24c178c67429ff510b","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]}],"priority":{"score":3.7,"factors":[{"name":"EPSS percentile","points":3.65}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 84882b060301c35ab7e2c1ef355b0bd06b764195, < b549c90bfe66f704878aa1e57b30ba15dab71935",">= 84882b060301c35ab7e2c1ef355b0bd06b764195, < ac8d932e3214c10ec641ad45a253929a596ead62",">= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 028a1ba8e3bae593d701aee4f690ce7c195b67d6",">= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 25ef52f1c15db67d890b80203a911b9a57b0bf71",">= 84882b060301c35ab7e2c1ef355b0bd06b764195, < 09e067e3c83e0695d338e8a26916e3c2bc44be02",">= 84882b060301c35ab7e2c1ef355b0bd06b764195, < d115b7f3ddc03b38bb7e8754601556fe9b4fc034",">= 84882b060301c35ab7e2c1ef355b0bd06b764195, < de6a73bad1743e9e81ea5a24c178c67429ff510b"]},{"vendor":"Linux","product":"Linux","versions":["3.16"]}],"euvd":{"id":"EUVD-2024-53807","exploited":false,"provenance":"source"}}