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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:06.956Z
- Modified: 2026-12-01T06:17:46.113Z
- Assigned by: Linux

## Description

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

media: iris: reference count video instances

iris_get_instance() 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: iris_close() 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 iris_inst. iris_get_instance() takes a reference
under core->lock, so an instance it returns cannot be freed until the
caller drops that reference with iris_inst_put(). 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 38fc8beaba55e06c8831f21a96ec5e33e2f1978f before 3ce4c550872276fa0b2a34fb26a35162fb058345; from 38fc8beaba55e06c8831f21a96ec5e33e2f1978f before da146dab51d1470262a148a0b31762bf8f32f76f; from 38fc8beaba55e06c8831f21a96ec5e33e2f1978f before af5f7df6c8b33bed714ec0aea15a0a2f48900c0a; 6.15 (not affected: before 6.15; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/3ce4c550872276fa0b2a34fb26a35162fb058345>
- <https://git.kernel.org/stable/c/da146dab51d1470262a148a0b31762bf8f32f76f>
- <https://git.kernel.org/stable/c/af5f7df6c8b33bed714ec0aea15a0a2f48900c0a>

## Sources

- CVE List: [CVE-2026-139585](https://www.cve.org/CVERecord?id=CVE-2026-139585), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139585](https://nvd.nist.gov/vuln/detail/CVE-2026-139585), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139585 · Whole record: https://cve.day/CVE-2026-139585.json · Rebuilt by cve.day 2026-12-01T06:32:24.440Z
