В ядре Linux устранена следующая уязвимость:
liveupdate: исправлено u-a-f в luo_file_unpreserve_files() и luo_file_finish(). В luo_file_unpreserve_files() и luo_file_finish() измените порядок
Module_put() и xa_erase(), чтобы гарантировать, что модуль обработчика файлов останется
закреплен во время доступа к его операциям. В частности, luo_get_id() разыменовывает fh->ops->get_id, поэтому модуль
ссылка должна удерживаться до тех пор, пока не произойдет xa_erase() (который вызывает luo_get_id)
завершает.
Для luo_file_finish() это требует перемещения вызова модуля_put() из
помощник luo_file_finish_one() и в основной цикл
luo_file_finish() сам по себе.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: liveupdate: fix u-a-f in luo_file_unpreserve_files() and luo_file_finish() In luo_file_unpreserve_files() and luo_file_finish(), reorder module_put() and xa_erase() to ensure the file handler module remains pinned while its operations are being accessed. Specifically, luo_get_id() dereferences fh->ops->get_id, so the module reference must be held until after xa_erase() (which calls luo_get_id) completes. For luo_file_finish(), this requires moving the module_put() call out of the luo_file_finish_one() helper and into the main loop of luo_file_finish() itself.