media: rc: mce_kbd: Fix inconsistent locking of keylock (Linux Linux)

CVE-2026-99438
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 53a62800efb2f0ebc1972cab242461ae8c57bfd4 < d6b886251b3a39c6197807752b69b68e7b8bd928
affected : ≥ 53a62800efb2f0ebc1972cab242461ae8c57bfd4 < c3d1e4f22e0343527405d8bb42589a13aac2dc7d
affected : ≥ 53a62800efb2f0ebc1972cab242461ae8c57bfd4 < f4f048f1afae2fac132f87b2ba438dfa49f89d97
affected : ≥ 53a62800efb2f0ebc1972cab242461ae8c57bfd4 < 944ae6245f5aed07e0aac871a24a5ae6bf3daa66
affected : ≥ 53a62800efb2f0ebc1972cab242461ae8c57bfd4 < 15c53a8b50a9595fbd14befe8eb0455616e648a5
affected : ≥ 53a62800efb2f0ebc1972cab242461ae8c57bfd4 < 0e18282783cc426207127c1214b40967a18ef939
affected : ≥ 53a62800efb2f0ebc1972cab242461ae8c57bfd4 < 7df669eab2abcb141f43cab1e558c401a1093b37
affected : ≥ 53a62800efb2f0ebc1972cab242461ae8c57bfd4 < 29ee25fa9beb3232808e6d0b3e8ebfb0427cb820
Other versions : unaffected
Linux · Linux
affected : 4.18
unaffected : ≥ 0 < 4.18
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD