В ядре Linux устранена следующая уязвимость:
mfd: pcf50633-adc: исправлена возможная утечка памяти в pcf50633_adc_async_read().
`req` выделяется в pcf50633_adc_async_read(), но
adc_enqueue_request() мог не вставить запрос в очередь.
Нам нужно проверить возвращаемое значение и освободить его в случае неудачи.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read() `req` is allocated in pcf50633_adc_async_read(), but adc_enqueue_request() could fail to insert the `req` into queue. We need to check the return value and free it in the case of failure.