CVE-2026-46210
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
28/05/2026
Last modified:
30/05/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
media: iris: fix use-after-free of fmt_src during MBPF check<br />
<br />
During concurrency testing, multiple instances can run in parallel, and<br />
each instance uses its own inst->lock while the core->lock protects the<br />
list of active instances. The race happens because these locks cover<br />
different scopes, inst->lock protects only the internals of a single<br />
instance, while the Macro Blocks Per Frame (MBPF) checker walks the<br />
core list under core->lock and reads fields like fmt_src->width and<br />
fmt_src->height. At the same time, iris_close() may free fmt_src and<br />
fmt_dst under inst->lock while the instance is still present in the core<br />
list. This allows a situation where the MBPF checker, still iterating<br />
through the core list, reaches an instance whose fmt_src was already<br />
freed by another thread and ends up dereferencing a dangling pointer,<br />
resulting in a use-after-free. This happens because the MBPF checker<br />
assumes that any instance in the core list is fully valid, but the<br />
freeing of fmt_src and fmt_dst without removing the instance from the<br />
core list is not correct.<br />
<br />
The correct ordering is to defer freeing fmt_src and fmt_dst until after<br />
the instance has been removed from the core list and all teardown under<br />
the core lock has completed, ensuring that no dangling pointers are ever<br />
exposed during MBPF checks.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH



