В ядре Linux устранена следующая уязвимость:
libceph: удалить файлы debugfs перед демонтажем клиента
ceph_destroy_client() отключает клиент монитора перед удалением
файлы debugfs для каждого клиента. Параллельное чтение отладочных файлов monmap
файл может войти в monmap_show() после освобождения ceph_monc_stop()
monc->monmap, вызывающий использование после освобождения.
Удалите файлы debugfs перед остановкой экранного меню и мониторингом клиентов.
debugfs_remove() истощает активные обработчики и предотвращает новые обращения, поэтому
обратные вызовы debugfs больше не могут участвовать в остальной части демонтажа клиента.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: libceph: remove debugfs files before client teardown ceph_destroy_client() tears down the monitor client before removing the per-client debugfs files. A concurrent read of the monmap debugfs file can enter monmap_show() after ceph_monc_stop() has freed monc->monmap, triggering a use-after-free. Remove the debugfs files before stopping the OSD and monitor clients. debugfs_remove() drains active handlers and prevents new accesses, so the debugfs callbacks can no longer race the rest of client teardown.
Характеристики атаки
Последствия
Строка CVSS v3.1