Bug 2587053 (CVE-2026-139585) - CVE-2026-139585 kernel: kernel: privilege escalation via use-after-free in Iris video driver
Summary: CVE-2026-139585 kernel: kernel: privilege escalation via use-after-free in Ir...
Keywords:
Status: NEW
Alias: CVE-2026-139585
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:56 UTC by OSIDB Bzimport
Modified: 2026-12-01 09:49 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:56:26 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.