« List of all CVEs

CVE-2024-57904

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

Published: 1/19/2025 Last updated: 11/3/2025 Reserved: 1/19/2025

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.

CNA assigner: Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67) Requested by: n/a

Opam packages affected (27)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes orun rawlink rawlink-eio rawlink-lwt shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (4)

Product Vendor Version
Linux Linux n/a
Linux Linux vGPU version all version prior to 8.7, all version prior to 11.4, and all version prior to 12.2
Linux Linux < 7ab488d7228a9dceb2456867f1f0919decf6efed
Linux Linux < 564249219e5b5673a8416b5181875d828c3f1e8c

References (18)