CVE-2026-99438: 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_lo…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- linux
https://nvd.nist.gov/vuln/detail/CVE-2026-99438 ↗
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. References: https://git.kernel.org/stable/c/0e18282783cc426207127c1214b40967a18ef939 https://git.kernel.org/stable/c/15c53a8b50a9595fbd14befe8eb0455616e648a5 https://git.kernel.org/stable/c/29ee25fa9beb3232808e6d0b3e8ebfb0427cb820 https://git.kernel.org/stable/c/7df669eab2abcb141f43cab1e558c401a1093b37