media: rc: Add missing locking for keymap
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 75977f5f5c4974c72bbedefbf09ad33ebbaa36f1 to before 1c4fc29cdc100535d9b697deaf5541d208f22491 Affectede250b672d40a9e0d97a8895cbb301248bea0fce6 to before a2fe2e2f5ffa5180144d5be9f8504023a2a304f2 Affecteddccc0c3ddf8f16071736f98a7d6dd46a2d43e037 to before 77a3708e5ca3cf460fc25f2d07caf828eb440162 Affecteddccc0c3ddf8f16071736f98a7d6dd46a2d43e037 to before ab9567336171e46ce9e03ee126902b3fd7901baa Affecteda7becb58f6b8a3a3efe5d3acfd52e2c107de6772 Affected6.12.93 to before 6.12.120 Affected6.18.35 to before 6.18.66 Affected6.6.143 to before 6.7 Affected |
| Linux Linux | 7.1 Affectedbefore 7.1 Not Affected6.12.120 through 6.12.* Not Affected6.18.66 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
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.