media: rc: Add missing locking for keymap
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.6.143, < 6.7→ 6.7 ≥ 6.12.93, < 6.12.120→ 6.12.120 ≥ 6.18.35, < 6.18.66→ 6.18.66 ≥ 7.1.0, < 7.3.4→ 7.3.4 |
6.7 6.12.120 6.18.66 7.3.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-139078 linux-lts Fix available
- Debian DEBIAN-CVE-2026-139078 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139078 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
media: rc: Add missing locking for keymap
When the rc_map for an rc_dev gets updated, locking is required but is
missing in places. A concurrent scancode lookup and a call to
rc_{register,unregistered}_device() could result in a use-after-free;
this could happen if IR is decoded during those function calls.
Add lockdep assertions where locks are required.
ir_free_table() should only be called for non-TX devices else we will
use a spinlock without iniitializing it.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com