CVE-2026-139586

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

Published Nov 30, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel media iris driver contains a use-after-free flaw. The function iris_check_session_supported() iterates over the core->instances list without holding core->lock, the mutex that protects that list. While this traversal is occurring, a concurrent iris_close() call can acquire that lock, remove an instance, and free the memory. Consequently the traversal may follow a pointer that has already been freed, resulting in a use-after-free. An attacker who can trigger both operations concurrently could exploit the dereference to execute arbitrary kernel code, thereby elevating privileges or compromising the whole system.

Affected Systems

Any Linux system that ships the iris media driver before the fix is deployed is affected. This includes all kernel releases up to and including those that distributed the driver without the lock for the instance list traversal. If a custom kernel omits the iris driver or if an organization does not use the iris driver, the vulnerability does not apply.

Risk and Exploitability

The vulnerability is not listed in the CISA KEV catalog and no EPSS score is available, indicating low public exploitation data. Nonetheless, the use-after-free in a kernel context carries high severity potential. Exploitation requires concurrent invocation of iris_check_session_supported() and iris_close() from the same context, which is typically possible with local execution of a user-space program that opens the iris device. Remote exploitation is conceivable if an attacker can influence application behavior that interacts with the iris driver. The inherent impact warrants treating this flaw as a critical class vulnerability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the commit adding the core lock around the iris instance list traversal (for example, commit 428e6f95e685a06a73868aee95dd94dca7b3a027).
  • If an immediate kernel upgrade cannot be performed, cherry‑pick the relevant changes from the linked commits into the running kernel source and rebuild the kernel.
  • When the patch cannot be applied quickly, disable or unload the iris media driver on systems that do not require it, or restrict access to the driver to privileged users only.

Generated by OpenCVE AI on December 1, 2026 at 13:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
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.
Title media: iris: take core lock when scanning the instance list
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM