CVE-2026-139585: media: iris: reference count video instances

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

media: iris: reference count video instances

irisgetinstance() looks up an instance on core->instances and returns it after dropping core->lock, without taking any reference. The threaded interrupt handler uses this to find the instance a firmware response belongs to and then takes inst->lock. Meanwhile userspace may close the same file descriptor: irisclose() removes the instance from the list, destroys inst->lock and frees the instance. The interrupt handler then operates on freed memory and a destroyed mutex, a use-after-free.

Add a kref to struct irisinst. irisgetinstance() takes a reference under core->lock, so an instance it returns cannot be freed until the caller drops that reference with irisinstput(). The instance is released (mutexes destroyed, memory freed) only when the last reference goes away, whether that is held by the closing thread or the interrupt handler.

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.15.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  4. Compensating control

    Add a kref to struct iris_inst and use reference counting so the instance is freed only after its last reference is released.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
Description
Data Sourced
via OSV·01:36 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

How can I verify that the fix is present in a kernel source tree?

Verify that the iris driver adds a kref to struct iris_inst, acquires a reference in iris_get_instance() while holding core->lock, and releases it through iris_inst_put(). The provided stable-tree references identify fixes with commits 3ce4c550872276fa0b2a34fb26a35162fb058345, da146dab51d1470262a148a0b31762bf8f32f76f, and af5f7df6c8b33bed714ec0aea15a0a2f48900c0a.

2

Is a workaround available when the kernel fix cannot be deployed immediately?

The provided information does not specify a workaround or configuration-based mitigation. It identifies the issue as resolved by changing the iris instance lifetime management.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203