Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
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.
A flaw was found in the Linux kernel's Remote Control (RC) subsystem within the Media Center Edition (MCE) keyboard decoder. A local user or attacker transmitting infrared signals can trigger a Denial of Service (DoS) on the affected system. The issue occurs due to inconsistent lock synchronization between the infrared decoding thread and a timer callback running in interrupt context. If a timer interrupt fires while the decoding process holds the lock, the interrupt handler waits indefinitely for the lock to be released, resulting in a CPU deadlock that halts the system.

