В ядре Linux устранена следующая уязвимость:
i3c: renesas: убедитесь, что передача действительна, прежде чем получить к ней доступ. Драйвер Renesas I3C использует асинхронную модель передачи данных. Это
подготавливает структуру renesas_i3c_xfer, ставит ее в очередь и ждет завершения.
Обработчик прерываний удаляет передачу из очереди, обновляет/использует ее и сигнализирует ожидающая нить. Если время завершения истекло, ожидающий поток удаляет передачу из очереди и освободи его. Если после этого сработает прерывание, обработчик может получить доступ к освобожденному памяти, что приводит к сбоям.
Прежде чем получить к нему доступ в обработчик прерываний. С его помощью очистите все флаги состояния и отключите все прерывания, чтобы избежать повторного запуска одних и тех же прерываний.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: i3c: renesas: Check that the transfer is valid before accessing it The Renesas I3C driver uses an asynchronous model to transfer data. It prepares a struct renesas_i3c_xfer, enqueues it, and waits for completion. The interrupt handler dequeues the transfer, updates/uses it, and signals the waiting thread. If the completion times out, the waiting thread dequeues the transfer and free it. If an interrupt fires after that, the handler may access freed memory, leading to crashes. Check that the transfer is still valid before accessing it in the interrupt handler. With it clear any status flags and disable all the interrupts to avoid triggering the same interrupts again.
Характеристики атаки
Последствия
Строка CVSS v3.1