CVE-2026-99438: media: rc: mce_kbd: Fix inconsistent locking of keylock
In the Linux kernel, the following vulnerability has been resolved:
media: rc: mcekbd: Fix inconsistent locking of keylock
data->keylock is taken with spinlock() in irmcekbddecode(), which runs in the raw IR decode kthread with local interrupts enabled, but with spinlockirqsave() in mcekbdrxtimeout(), the rxtimeout timer callback, which runs in softirq context.
If the decode kthread is holding keylock via spinlock() when a timer interrupt fires on the same CPU and the softirq runs mcekbdrxtimeout(), 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1