CVE-2026-46210CWE-416

CVE-2026-46210

High · published May 28, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
5.9
In the wild
Unconfirmed
What it is

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

media: iris: fix use-after-free of fmt_src during MBPF check

During concurrency testing, multiple instances can run in parallel, and

each instance uses its own inst->lock while the core->lock protects the

list of active instances. The race happens because these locks cover

different scopes, inst->lock protects only the internals of a single

instance, while the Macro Blocks Per Frame (MBPF) checker walks the

core list under core->lock and reads fields like fmt_src->width and

fmt_src->height. At the same time, iris_close() may free fmt_src and

fmt_dst under inst->lock while the instance is still present in the core

list. This allows a situation where the MBPF checker, still iterating

through the core list, reaches an instance whose fmt_src was already

freed by another thread and ends up dereferencing a dangling pointer,

resulting in a use-after-free. This happens because the MBPF checker

assumes that any instance in the core list is fully valid, but the

freeing of fmt_src and fmt_dst without removing the instance from the

core list is not correct.

The correct ordering is to defer freeing fmt_src and fmt_dst until after

the instance has been removed from the core list and all teardown under

the core lock has completed, ensuring that no dangling pointers are ever

exposed during MBPF checks.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.9th percentile
Weakness
CWE-416 · Use After Free
Published
2026-05-28T14:16Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.18, < 7.0.97.0.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 28 MAY 09:40Z
    media: iris: fix use-after-free of fmt_src during MBPF check
    cvelistv5