Ad

CVE-2026-98496

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

In the Linux kernel, the following vulnerability has been resolved: net: airoha: npu: cancel wdt_work after releasing the WDT IRQ airoha_npu_remove() calls cancel_work_sync() on each core's wdt_work, but the watchdog IRQ that queues it is requested with devm_request_irq() and is freed only after .remove() returns. airoha_npu_wdt_handler() can therefore schedule_work() again once the cancel has returned. struct airoha_npu, which contains the work, is devm_kzalloc()'d and is freed in that same unwind, so the late work dereferences freed memory. Зарегистрируйте работу с devm_work_autocancel() перед devm_request_irq() и drop .remove(). Devres работает в обратном порядке, поэтому IRQ освобождается до cancel_work_sync (), в том числе, когда зонд выходит из строя.

Отмена, оставленная в .remove(), не может получить этот заказ. Инициализация работы сначала также останавливает ожидающее сторожевое прерывание от очереди неинициализированного рабочего элемента. Зонд в настоящее время вызывает INIT_WORK() только после devm_request_irq().

Эта проблема была выявлена в ходе нашего продолжающегося исследования статического анализа при анализе кода ядра.

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

In the Linux kernel, the following vulnerability has been resolved: net: airoha: npu: cancel wdt_work after releasing the WDT IRQ airoha_npu_remove() calls cancel_work_sync() on each core's wdt_work, but the watchdog IRQ that queues it is requested with devm_request_irq() and is freed only after .remove() returns. airoha_npu_wdt_handler() can therefore schedule_work() again once the cancel has returned. struct airoha_npu, which contains the work, is devm_kzalloc()'d and is freed in that same unwind, so the late work dereferences freed memory. Register the work with devm_work_autocancel() before devm_request_irq() and drop .remove(). Devres runs in reverse order, so the IRQ is freed before cancel_work_sync(), including when probe fails. A cancel left in .remove() cannot get that order. Initializing the work first also stops a pending watchdog interrupt from queuing an uninitialized work item. Probe currently calls INIT_WORK() only after devm_request_irq(). This issue was identified during our ongoing static-analysis research while reviewing kernel code.