Description
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. aspeed_gpio_irq_ack() clears a line's status through aspeed_g4_reg_bit_set(), 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. aspeed_gpio_irq_handler() 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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
79fc9a2fcc457f4375118fbcdb6767163870b5ff to < ca04ad88b50541505b1b199b65f69ed3fd4f7238affected79fc9a2fcc457f4375118fbcdb6767163870b5ff to < 9b474ceea9313c26b3c908c7ad154b5dcf252a09affected79fc9a2fcc457f4375118fbcdb6767163870b5ff to < 5d362564bd2982def7e80d7f1e756a97440c7adbaffected
Linux Linux
Default version status: affected
6.13affected0 to < 6.13unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected