media: rc: mce_kbd: Fix inconsistent locking of keylock
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 53a62800efb2f0ebc1972cab242461ae8c57bfd4 to before d6b886251b3a39c6197807752b69b68e7b8bd928 Affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to before c3d1e4f22e0343527405d8bb42589a13aac2dc7d Affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to before f4f048f1afae2fac132f87b2ba438dfa49f89d97 Affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to before 944ae6245f5aed07e0aac871a24a5ae6bf3daa66 Affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to before 15c53a8b50a9595fbd14befe8eb0455616e648a5 Affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to before 0e18282783cc426207127c1214b40967a18ef939 Affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to before 7df669eab2abcb141f43cab1e558c401a1093b37 Affected53a62800efb2f0ebc1972cab242461ae8c57bfd4 to before 29ee25fa9beb3232808e6d0b3e8ebfb0427cb820 Affected |
| Linux Linux | 4.18 Affectedbefore 4.18 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/d6b886251b3a39c6197807752b69b68e7b8bd928
- https://git.kernel.org/stable/c/c3d1e4f22e0343527405d8bb42589a13aac2dc7d
- https://git.kernel.org/stable/c/f4f048f1afae2fac132f87b2ba438dfa49f89d97
- https://git.kernel.org/stable/c/944ae6245f5aed07e0aac871a24a5ae6bf3daa66
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.