In the Linux kernel, the following vulnerability has been resolved:
iio: adc: at91: call inputfreedevice() on allocated iio_dev
Current implementation of at91tsregister() calls inputfreedeivce() on st->tsinput, however, the err label can be reached before the allocated iiodev is stored to st->tsinput. Thus call inputfreedevice() on input instead of st->tsinput.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57904.json"
}