CVE-2026-139585

HighCVSS 7.8/10Last modified Dec 1, 2026

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.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 38fc8beaba55e06c8831f21a96ec5e33e2f1978f, < 3ce4c550872276fa0b2a34fb26a35162fb058345; >= 38fc8beaba55e06c8831f21a96ec5e33e2f1978f, < da146dab51d1470262a148a0b31762bf8f32f76f; >= 38fc8beaba55e06c8831f21a96ec5e33e2f1978f, < af5f7df6c8b33bed714ec0aea15a0a2f48900c0a
LinuxLinux6.15

References

Timeline

Published
Nov 30, 2026
Last modified
Dec 1, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139586In the Linux kernel, the following vulnerability has been resolved: media: iris: take core lock when scanning the instance list iris_checkCVE-2026-139587In the Linux kernel, the following vulnerability has been resolved: media: iris: cancel sys error work on driver removal Cancel sys_error_CVE-2026-139588In the Linux kernel, the following vulnerability has been resolved: media: venus: Drop session events without an instance hfi_process_msg_CVE-2026-1395897.0In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Fix the PD and DPI table size The PD and DPI bitmaps werCVE-2026-139594.3Insufficient validation of untrusted input in Blink in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to bypass same origin CVE-2026-139590In the Linux kernel, the following vulnerability has been resolved: IB/isert: Don't share drop_cmd_list across concurrent connection teardoCVE-2026-139591In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Restore mr->pi_mr after temporary stack-local assignment InCVE-2026-139592In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it CVE-2026-139593In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set QP event handler before firmware QPC insertion Four QP CVE-2026-139594In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set RQ event handler for raw-packet QP create_raw_packet_qpCVE-2026-139595In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set SRQ event handler before xarray insertion mlx5_cmd_creaCVE-2026-139596In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set WQ event handler before firmware RQ insertion create_rq
CVE-2026-139585: High severity, CVSS 7.8 | Vulnix