# CVE-2026-139078: media: rc: Add missing locking for keymap

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:41.737Z
- Modified: 2026-11-30T14:18:15.350Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 75977f5f5c4974c72bbedefbf09ad33ebbaa36f1 before 1c4fc29cdc100535d9b697deaf5541d208f22491; from e250b672d40a9e0d97a8895cbb301248bea0fce6 before a2fe2e2f5ffa5180144d5be9f8504023a2a304f2; from dccc0c3ddf8f16071736f98a7d6dd46a2d43e037 before 77a3708e5ca3cf460fc25f2d07caf828eb440162; from dccc0c3ddf8f16071736f98a7d6dd46a2d43e037 before ab9567336171e46ce9e03ee126902b3fd7901baa; a7becb58f6b8a3a3efe5d3acfd52e2c107de6772; from 6.12.93 before 6.12.120; from 6.18.35 before 6.18.66; from 6.6.143 before 6.7; 7.1 (not affected: before 7.1; from 6.12.120 up to 6.12.*; from 6.18.66 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/1c4fc29cdc100535d9b697deaf5541d208f22491>
- <https://git.kernel.org/stable/c/a2fe2e2f5ffa5180144d5be9f8504023a2a304f2>
- <https://git.kernel.org/stable/c/77a3708e5ca3cf460fc25f2d07caf828eb440162>
- <https://git.kernel.org/stable/c/ab9567336171e46ce9e03ee126902b3fd7901baa>

## Sources

- CVE List: [CVE-2026-139078](https://www.cve.org/CVERecord?id=CVE-2026-139078), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139078](https://nvd.nist.gov/vuln/detail/CVE-2026-139078), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139078 · Whole record: https://cve.day/CVE-2026-139078.json · Rebuilt by cve.day 2026-11-30T14:32:52.966Z
