В ядре Linux устранена следующая уязвимость:
ata: sata_dwc_460ex: включить прерывания SATA только после регистрации обработчика IRQ
sata_dwc_enable_interrupts() вызывается перед Platform_get_irq() и
ata_host_activate(), выходя из маски прерывания контроллера SATA
включен без зарегистрированного обработчика. Если более поздний шаг не удался (irq
запрос, phy init и т. д.) или если контроллер выдает прерывание
во время проверки линия irq может сработать без обработчика, что приведет к
ложный шторм прерываний.
Переместите sata_dwc_enable_interrupts() после ata_host_activate(), чтобы
прерывания демаскируются только после регистрации обработчика и
ядро полностью инициализировано.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ata: sata_dwc_460ex: enable SATA interrupts only after IRQ handler is registered sata_dwc_enable_interrupts() is called before platform_get_irq() and ata_host_activate(), leaving the SATA controller's interrupt mask enabled without a registered handler. If a later step fails (irq request, phy init, etc.) or if the controller asserts an interrupt during probe, the irq line may fire with no handler, causing a spurious interrupt storm. Move sata_dwc_enable_interrupts() after ata_host_activate() so that interrupts are only unmasked once the handler is registered and the core is fully initialized.