CVE-2026-143059: gpio: aspeed: Clear only the acked line's G4 interrupt status
In the Linux kernel, the following vulnerability has been resolved:
gpio: aspeed: Clear only the acked line's G4 interrupt status
The G4 interrupt status registers are write-1-to-clear: writing 0 to a bit has no effect and writing 1 clears that line's status flag. aspeedgpioirqack() clears a line's status through aspeedg4regbitset(), which reads the bank's status register, sets the line's bit and writes the whole value back. That write clears every interrupt pending in the 32-line bank, not just the acked one.
aspeedgpioirqhandler() reads each bank's status register once and dispatches the lines that were set. If another line in the same bank latches an edge after that read and before an ack in the bank, the ack clears its status and the handler is never called for it, so the edge is lost.
Write only the line's own bit when clearing the interrupt status on G4.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the ASPEED G4 GPIO driver, write only the acknowledged line’s bit when clearing its interrupt status; do not write the whole bank status value.