Description
In the Linux kernel, the following vulnerability has been resolved: media: rc: mce_kbd: Fix inconsistent locking of keylock data->keylock is taken with spin_lock() in ir_mce_kbd_decode(), which runs in the raw IR decode kthread with local interrupts enabled, but with spin_lock_irqsave() in mce_kbd_rx_timeout(), the rx_timeout timer callback, which runs in softirq context. If the decode kthread is holding keylock via spin_lock() when a timer interrupt fires on the same CPU and the softirq runs mce_kbd_rx_timeout(), the softirq spins forever waiting for a lock that only the now-preempted kthread can release, while the kthread cannot run again until the softirq gives up the CPU. This deadlocks the CPU.
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
53a62800efb2f0ebc1972cab242461ae8c57bfd4 to < 15c53a8b50a9595fbd14befe8eb0455616e648a5affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to < 0e18282783cc426207127c1214b40967a18ef939affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to < 7df669eab2abcb141f43cab1e558c401a1093b37affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to < 29ee25fa9beb3232808e6d0b3e8ebfb0427cb820affected
Linux Linux
Default version status: affected
4.18affected0 to < 4.18unaffected6.12.117 to ≤ 6.12.*unaffected6.18.61 to ≤ 6.18.*unaffected7.3.2 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected