bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-46210

7.8high

linux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases

Reach linux · 6 builds in 3 of 4 releases

full reviewcross-check✓ a member decided

v25.03.1not in NVD's range
v26.01.06.18.8
v26.09.06.18.54
v26.10.0latest6.18.60
aarch64_minimal
x86_64
aarch64_minimal–
x86_64–
aarch64_minimalNot built · autox86_64Not built · autoaarch64_minimalNot built · autox86_64Not built · autoaarch64_minimalNot built · autox86_64Not built · auto

Description · NVD

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.

Published 2026-05-28NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged

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

References 3

Build check · v26.10.0 x86_64

None of the source files the CNA lists for CVE-2026-46210 (drivers/media/platform/qcom/iris/iris_vdec.c, drivers/media/platform/qcom/iris/iris_venc.c, drivers/media/platform/qcom/iris/iris_vidc.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.

Evidence 3

…/ is output/build/linux-6.18.60/drivers/media/platform/qcom/iris/

  1. object file absent: not compiled

    …/iris_vdec.o

  2. object file absent: not compiled

    …/iris_venc.o

  3. object file absent: not compiled

    …/iris_vidc.o

Members of Kernel Kit decide. Sign in if you are one.