Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139078

media: rc: Add missing locking for keymap

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 75977f5f5c4974c72bbedefbf09ad33ebbaa36f1 to < 1c4fc29cdc100535d9b697deaf5541d208f22491affected
  • e250b672d40a9e0d97a8895cbb301248bea0fce6 to < a2fe2e2f5ffa5180144d5be9f8504023a2a304f2affected
  • dccc0c3ddf8f16071736f98a7d6dd46a2d43e037 to < 77a3708e5ca3cf460fc25f2d07caf828eb440162affected
  • dccc0c3ddf8f16071736f98a7d6dd46a2d43e037 to < ab9567336171e46ce9e03ee126902b3fd7901baaaffected
  • a7becb58f6b8a3a3efe5d3acfd52e2c107de6772affected
  • 6.12.93 to < 6.12.120affected
  • 6.18.35 to < 6.18.66affected
  • 6.6.143 to < 6.7affected

Linux Linux

Default version status: affected

  • 7.1affected
  • 0 to < 7.1unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.4 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References