Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139586

media: iris: take core lock when scanning the instance list

Description

In the Linux kernel, the following vulnerability has been resolved: media: iris: take core lock when scanning the instance list iris_check_session_supported() walks core->instances to confirm the current instance is registered, but does so without holding core->lock. A concurrent iris_close() takes core->lock and removes a (possibly different) instance from the list via list_del_init() before freeing it, so the lockless traversal can follow a freed pointer and dereference it, resulting in a use-after-free. Hold core->lock across the list traversal, matching the other iterators over core->instances such as iris_check_core_mbpf(). The lock is dropped before iris_check_core_mbpf() is called so the nesting is unchanged.

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

  • bdbe1cac0c10a50eaf5ba1472429f6d721dffba4 to < c45a2271619a3e6e56a5040dfc924b868b68cb04affected
  • bdbe1cac0c10a50eaf5ba1472429f6d721dffba4 to < 46c2a699e74cdb2ecc675a5c865e67cd9971c6c3affected
  • bdbe1cac0c10a50eaf5ba1472429f6d721dffba4 to < 428e6f95e685a06a73868aee95dd94dca7b3a027affected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References