{"id":"CVE-2026-139078","summary":"media: rc: Add missing locking for keymap","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rc: Add missing locking for keymap\n\nWhen the rc_map for an rc_dev gets updated, locking is required but is\nmissing in places. A concurrent scancode lookup and a call to\nrc_{register,unregistered}_device() could result in a use-after-free;\nthis could happen if IR is decoded during those function calls.\n\nAdd lockdep assertions where locks are required.\n\nir_free_table() should only be called for non-TX devices else we will\nuse a spinlock without iniitializing it.","modified":"2026-11-30T15:02:04.853051472Z","published":"2026-11-30T13:27:41.737Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139078.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c4fc29cdc100535d9b697deaf5541d208f22491"},{"type":"WEB","url":"https://git.kernel.org/stable/c/77a3708e5ca3cf460fc25f2d07caf828eb440162"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2fe2e2f5ffa5180144d5be9f8504023a2a304f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ab9567336171e46ce9e03ee126902b3fd7901baa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139078.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139078"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"75977f5f5c4974c72bbedefbf09ad33ebbaa36f1"},{"fixed":"1c4fc29cdc100535d9b697deaf5541d208f22491"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e250b672d40a9e0d97a8895cbb301248bea0fce6"},{"fixed":"a2fe2e2f5ffa5180144d5be9f8504023a2a304f2"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dccc0c3ddf8f16071736f98a7d6dd46a2d43e037"},{"fixed":"77a3708e5ca3cf460fc25f2d07caf828eb440162"},{"fixed":"ab9567336171e46ce9e03ee126902b3fd7901baa"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a7becb58f6b8a3a3efe5d3acfd52e2c107de6772"}]}],"versions":["v6.12.119","v6.12.118","v6.12.117","v6.12.116","v6.12.115","v6.12.114","v6.12.113","v6.12.112","v6.12.111","v6.12.110","v6.12.109","v6.12.108","v6.12.107","v6.12.106","v6.12.105","v6.12.104","v6.12.103","v6.12.102","v6.12.101","v6.12.100","v6.12.99","v6.12.98","v6.12.97","v6.12.96","v6.12.95","v6.12.94","v6.12.93","v6.18.65","v6.18.64","v6.18.63","v6.18.62","v6.18.61","v6.18.60","v6.18.59","v6.18.58","v6.18.57","v6.18.56","v6.18.55","v6.18.54","v6.18.53","v6.18.52","v6.18.51","v6.18.50","v6.18.49","v6.18.48","v6.18.47","v6.18.46","v6.18.45","v6.18.44","v6.18.43","v6.18.42","v6.18.41","v6.18.40","v6.18.39","v6.18.38","v6.18.37","v6.18.36","v6.18.35","v6.6.163","v6.6.162","v6.6.161","v6.6.160","v6.6.159","v6.6.158","v6.6.157","v6.6.156","v6.6.155","v6.6.154","v6.6.153","v6.6.152","v6.6.151","v6.6.150","v6.6.149","v6.6.148","v6.6.147","v6.6.146","v6.6.145","v6.6.144","v6.6.143"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139078.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.143"},{"fixed":"6.7"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.12.93"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.18.35"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139078.json"}}],"schema_version":"1.9.2"}