CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-57904: iio: adc: at91: call input_free_device() on allocated iio_dev

Description

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.

Classification

CVE ID: CVE-2024-57904

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.58% (scored less or equal to compared to others)

EPSS Date: 2025-02-17 (when was this score calculated)

References

https://git.kernel.org/stable/c/25ef52f1c15db67d890b80203a911b9a57b0bf71
https://git.kernel.org/stable/c/09e067e3c83e0695d338e8a26916e3c2bc44be02
https://git.kernel.org/stable/c/d115b7f3ddc03b38bb7e8754601556fe9b4fc034
https://git.kernel.org/stable/c/de6a73bad1743e9e81ea5a24c178c67429ff510b

Timeline