CVE-2026-142833: irqchip/atmel-aic[5]: Disable interrupts in the irq_pm_shutdown() callbacks
In the Linux kernel, the following vulnerability has been resolved:
irqchip/atmel-aic[5]: Disable interrupts in the irqpmshutdown() callbacks
irqgcshutdown() calls the irqpmshutdown() callbacks from syscoreshutdown() with interrupts enabled. aicpmshutdown() and aic5pmshutdown() take the generic chip lock with rawspinlock(), and irqgceoi() takes the same lock from the interrupt handler. An interrupt from the chip while the lock is held spins in irqgceoi() and hangs the reboot.
Lockdep reports this on every reboot of a SAM9X75 Curiosity board:
WARNING: inconsistent lock state inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage. busybox/101 [HC0[0]:SC0[0]:HE1:SE1] takes: c1c2b434 (&gc->lock){?.-.}-{2:2}, at: aic5pmshutdown+0x34/0xd8 {IN-HARDIRQ-W} state was registered at: ... irqgceoi+0x28/0x60 handlefasteoiirq+0x120/0x214 ... aic5pmshutdown from irqgcshutdown+0x4c/0x58 irqgcshutdown from syscoreshutdown+0x5c/0x9c syscoreshutdown from kernelrestart+0x34/0x78 kernelrestart from sysreboot+0x180/0x25c
Use the irqsave guard, as commit 33517881ede7 ("irqchip/brcmstb-l2: Use irqsave locking variants in non-interrupt code") did for brcmstb-l2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Atmel AIC5 irq_pm_shutdown callbacks, use irqsave locking (disable interrupts while acquiring the generic chip lock).
Event History
Frequently Asked Questions
Which systems are exposed to this reboot failure?
The issue affects Linux systems using the Atmel AIC or AIC5 interrupt-controller shutdown callbacks. The report specifically reproduces it on a SAM9X75 Curiosity board.
What condition triggers the failure?
During reboot, the shutdown callback takes the generic chip lock while interrupts are enabled. If an interrupt from that chip arrives while the lock is held, its handler can spin on the same lock and hang the reboot.
How can I recognize that a system is affected?
Affected systems may hang during reboot. With lockdep enabled, the issue produces an inconsistent lock-state warning involving the generic chip lock, aic_pm_shutdown() or aic5_pm_shutdown(), and irq_gc_eoi().