Ad

CVE-2026-90193

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

В ядре Linux была устранена следующая уязвимость: mailbox: qcom-cpucp: fix PREEMPT_RT self-deadlock в обработчике IRQ qcom_cpucp_mbox_irq_fn() вызывает mbox_chan_received_data(), удерживая при этом chan->lock. Под PREEMPT_RT, spin_lock_irqsave() преобразуется в rt_spinlock (на основе rtmutex), который отслеживает владение и может спать. Цепочка обратного вызова, запущенная mbox_chan_received_data(), в конечном итоге достигает mailbox_clear_channel() -> mbox_send_message() -> add_to_rbuf(), который пытается повторно приобрести тот же chan->lock.

Поскольку rtmutex обнаруживает попытку повторной блокировки одним и тем же владельцем, нить блокирует ожидание блокировки, которую он уже держит, вызывая постоянный тупик. Этот тупик проявляется как «irq/N-apss_cpucp_mbox», застрявший в состоянии D со следующим следом вызова: rt_spin_lock -> mbox_send_message -> mailbox_clear_channel -> scmi_rx_callback -> mbox_chan_received_data [<- удерживаемый chan->lock здесь] Исправление путем сохранения chan->cl локально и очистки регистра прерываний HW внутри замка, а затем вызова mbox_chan_received_data () после освобождения блокировки. Это сохраняет взаимное исключение для доступа chan->cl, избегая повторной блокировки, которая вызывает тупиковую ситуацию PREEMPT_RT.

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

In the Linux kernel, the following vulnerability has been resolved: mailbox: qcom-cpucp: fix PREEMPT_RT self-deadlock in IRQ handler qcom_cpucp_mbox_irq_fn() calls mbox_chan_received_data() while holding chan->lock. Under PREEMPT_RT, spin_lock_irqsave() is converted to an rt_spinlock (rtmutex-based), which tracks ownership and can sleep. The callback chain triggered by mbox_chan_received_data() eventually reaches mailbox_clear_channel() -> mbox_send_message() -> add_to_rbuf(), which attempts to re-acquire the same chan->lock. Since rtmutex detects the re-entrant lock attempt by the same owner, the thread blocks waiting for a lock it already holds, causing a permanent deadlock. This deadlock manifests as 'irq/N-apss_cpucp_mbox' stuck in D state with the following call trace: rt_spin_lock -> mbox_send_message -> mailbox_clear_channel -> scmi_rx_callback -> mbox_chan_received_data [<- held chan->lock here] Fix by saving chan->cl locally and clearing the HW interrupt register inside the lock, then invoking mbox_chan_received_data() after releasing the lock. This preserves the mutual exclusion for chan->cl access while avoiding the lock re-entrancy that causes the PREEMPT_RT deadlock.