CVE-2026-99438
media: rc: mce_kbd: Fix inconsistent locking of keylock
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 53a62800efb2f0ebc1972cab242461ae8c57bfd4 to < 15c53a8b50a9595fbd14befe8eb0455616e648a5; affected: 53a62800efb2f0ebc1972cab242461ae8c57bfd4 to < 0e18282783cc426207127c1214b40967a18ef939; affected: 53a62800efb2f0ebc1972cab242461ae8c57bfd4 to < 7df669eab2abcb141f43cab1e558c401a1093b37; affected: 53a62800efb2f0ebc1972cab242461ae8c57bfd4 to < 29ee25fa9beb3232808e6d0b3e8ebfb0427cb820 | See vendor advisory |
| LinuxLinux | affected: 4.18; unaffected: 0 to < 4.18; unaffected: 6.12.117 to ≤ 6.12.*; unaffected: 6.18.61 to ≤ 6.18.*; unaffected: 7.3.2 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99438
- https://git.kernel.org/stable/c/15c53a8b50a9595fbd14befe8eb0455616e648a5
- https://git.kernel.org/stable/c/0e18282783cc426207127c1214b40967a18ef939
- https://git.kernel.org/stable/c/7df669eab2abcb141f43cab1e558c401a1093b37
- https://git.kernel.org/stable/c/29ee25fa9beb3232808e6d0b3e8ebfb0427cb820