Description
In the Linux kernel, the following vulnerability has been resolved:
irqchip/atmel-aic[5]: Disable interrupts in the irq_pm_shutdown() callbacks
irq_gc_shutdown() calls the irq_pm_shutdown() callbacks from syscore_shutdown() with interrupts enabled. aic_pm_shutdown() and aic5_pm_shutdown() take the generic chip lock with raw_spin_lock(), and irq_gc_eoi() takes the same lock from the interrupt handler. An interrupt from the chip while the lock is held spins in irq_gc_eoi() 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: aic5_pm_shutdown+0x34/0xd8 {IN-HARDIRQ-W} state was registered at: ... irq_gc_eoi+0x28/0x60 handle_fasteoi_irq+0x120/0x214 ... aic5_pm_shutdown from irq_gc_shutdown+0x4c/0x58 irq_gc_shutdown from syscore_shutdown+0x5c/0x9c syscore_shutdown from kernel_restart+0x34/0x78 kernel_restart from sys_reboot+0x180/0x25c
Use the irqsave guard, as commit 33517881ede7 ("irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code") did for brcmstb-l2.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= b1479ebb772003461f0458a0b3a68cb1c4036288, < 8d60c77380d6402ec8f652fa5edce3f559b9c32f; >= b1479ebb772003461f0458a0b3a68cb1c4036288, < c34c445cabf5aed5f92ccd7f781829cbd2e405ce; >= b1479ebb772003461f0458a0b3a68cb1c4036288, < 18c6ab8ad60274bc6a8badeabc1ffbf0da4c6d97; >= b1479ebb772003461f0458a0b3a68cb1c4036288, < ce6abad3ea47d8a463f7f3f0de098b7c92f6c4a8; >= b1479ebb772003461f0458a0b3a68cb1c4036288, < 508cb3b25e0d0ffa6075539954743e55a0befce8; >= b1479ebb772003461f0458a0b3a68cb1c4036288, < 0ca21fe111457c843624a835641bb490e704bb2f |
| Linux | Linux | 3.17 |
References
- https://git.kernel.org/stable/c/0ca21fe111457c843624a835641bb490e704bb2f
- https://git.kernel.org/stable/c/18c6ab8ad60274bc6a8badeabc1ffbf0da4c6d97
- https://git.kernel.org/stable/c/508cb3b25e0d0ffa6075539954743e55a0befce8
- https://git.kernel.org/stable/c/8d60c77380d6402ec8f652fa5edce3f559b9c32f
- https://git.kernel.org/stable/c/c34c445cabf5aed5f92ccd7f781829cbd2e405ce
- https://git.kernel.org/stable/c/ce6abad3ea47d8a463f7f3f0de098b7c92f6c4a8
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received