В ядре Linux устранена следующая уязвимость:
Bluetooth: hci_core: исправить UAF в hci_unregister_dev().
hci_unregister_dev() не отключает cmd_timer и ncmd_timer
до того, как структура hci_dev будет освобождена. Если сработал тайм-аут
во время отключения устройства обратный вызов освобождает память
(включая указатель функции hdev->reset), что приводит к
использовать после бесплатно.
Добавьте вызовы Disable_delayed_work_sync() рядом с существующими
Disable_work_sync() вызывает, чтобы убедиться, что оба таймера полностью
приостановлено до начала демонтажа.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: Fix UAF in hci_unregister_dev() hci_unregister_dev() does not disable cmd_timer and ncmd_timer before the hci_dev structure is freed. If a timeout fires during device teardown, the callback dereferences freed memory (including the hdev->reset function pointer), leading to a use-after-free. Add disable_delayed_work_sync() calls alongside the existing disable_work_sync() calls to ensure both timers are fully quiesced before teardown proceeds.
Характеристики атаки
Последствия
Строка CVSS v3.1