Ad

CVE-2026-98748

NONE EPSS 0.17%
Обновлено 30 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux была устранена следующая уязвимость: 8250_bcm7271: исправление use-after-free в brcmuart_remove() brcmuart_handle_irq() запускает priv->hrt для работы с причудливым прерыванием приема ядра 8250, когда включено управление аппаратным потоком; обратный звонок таймера brcmuart_hrtimer_func() отменяет привилегию. brcmuart_remove() отменяет hrtimer до его отмены. После того, как devm освобождает priv, обратный звонок выполняется на свободной памяти. Unregister порт перед отменой часового таймера. serial8250_unregister_port() отключает порт и освобождает свой IRQ, поэтому brcmuart_handle_irq() больше не может перезапустить таймер, а последний hrtimer_cancel() сливает любой таймер, который был заряжен до или во время отмены регистрации.

Эта проблема была обнаружена с помощью внутреннего инструмента статического анализа.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: serial: 8250_bcm7271: fix use-after-free in brcmuart_remove() brcmuart_handle_irq() starts priv->hrt to work around a receive-timeout quirk of the 8250 core when hardware flow control is enabled; the timer callback brcmuart_hrtimer_func() dereferences priv. brcmuart_remove() cancels the hrtimer before it unregisters the port, so a receive-timeout interrupt that arrives in between re-arms the timer. After devm frees priv, the callback runs on freed memory. Unregister the port before cancelling the hrtimer. serial8250_unregister_port() shuts the port down and frees its IRQ, so brcmuart_handle_irq() can no longer restart the timer, and the final hrtimer_cancel() drains any timer that was armed before or during the unregister. This issue was found by an in-house static analysis tool.