CVE-2026-99438
media: rc: mce_kbd: Fix inconsistent locking of keylock
- CVSS
- —
- EPSS
- 0.22% (p13)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux Linux
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.
Fixed in
0e18282783cc426207127c1214b40967a18ef939 · 15c53a8b50a9595fbd14befe8eb0455616e648a5 · 29ee25fa9beb3232808e6d0b3e8ebfb0427cb820 · 7df669eab2abcb141f43cab1e558c401a1093b37 · 944ae6245f5aed07e0aac871a24a5ae6bf3daa66 · c3d1e4f22e0343527405d8bb42589a13aac2dc7d · d6b886251b3a39c6197807752b69b68e7b8bd928 · f4f048f1afae2fac132f87b2ba438dfa49f89d97
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Linux | >=53a62800efb2f0ebc1972cab242461ae8c57bfd4, <0e18282783cc426207127c1214b40967a18ef939 | 0e18282783cc426207127c1214b40967a18ef939 |
| vendor | Linux | >=53a62800efb2f0ebc1972cab242461ae8c57bfd4, <15c53a8b50a9595fbd14befe8eb0455616e648a5 | 15c53a8b50a9595fbd14befe8eb0455616e648a5 |
| vendor | Linux | >=53a62800efb2f0ebc1972cab242461ae8c57bfd4, <29ee25fa9beb3232808e6d0b3e8ebfb0427cb820 | 29ee25fa9beb3232808e6d0b3e8ebfb0427cb820 |
| vendor | Linux | >=53a62800efb2f0ebc1972cab242461ae8c57bfd4, <7df669eab2abcb141f43cab1e558c401a1093b37 | 7df669eab2abcb141f43cab1e558c401a1093b37 |
| vendor | Linux | >=53a62800efb2f0ebc1972cab242461ae8c57bfd4, <944ae6245f5aed07e0aac871a24a5ae6bf3daa66 | 944ae6245f5aed07e0aac871a24a5ae6bf3daa66 |
| vendor | Linux | >=53a62800efb2f0ebc1972cab242461ae8c57bfd4, <c3d1e4f22e0343527405d8bb42589a13aac2dc7d | c3d1e4f22e0343527405d8bb42589a13aac2dc7d |
| vendor | Linux | >=53a62800efb2f0ebc1972cab242461ae8c57bfd4, <d6b886251b3a39c6197807752b69b68e7b8bd928 | d6b886251b3a39c6197807752b69b68e7b8bd928 |
| vendor | Linux | >=53a62800efb2f0ebc1972cab242461ae8c57bfd4, <f4f048f1afae2fac132f87b2ba438dfa49f89d97 | f4f048f1afae2fac132f87b2ba438dfa49f89d97 |
Sources
References
- https://git.kernel.org/stable/c/15c53a8b50a9595fbd14befe8eb0455616e648a5 other
- https://git.kernel.org/stable/c/0e18282783cc426207127c1214b40967a18ef939 other
- https://git.kernel.org/stable/c/7df669eab2abcb141f43cab1e558c401a1093b37 other
- https://git.kernel.org/stable/c/29ee25fa9beb3232808e6d0b3e8ebfb0427cb820 other
- https://git.kernel.org/stable/c/d6b886251b3a39c6197807752b69b68e7b8bd928 other
- https://git.kernel.org/stable/c/c3d1e4f22e0343527405d8bb42589a13aac2dc7d other
- https://git.kernel.org/stable/c/f4f048f1afae2fac132f87b2ba438dfa49f89d97 other
- https://git.kernel.org/stable/c/944ae6245f5aed07e0aac871a24a5ae6bf3daa66 other