# CVE-2026-46210: media: iris: fix use-after-free of fmt\_src during MBPF check

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-05-28T09:40:27.884Z
- **Modified:** 2026-10-15T11:17:32.110Z

## Who should check

- Anyone running Linux \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 96889fcdb0988108a19a29b0467717a503651a73; \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 494ffd1712a588e590e6b1e9f876a8c8b24a9180; \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 3d9593ad1a58c5acc3e5fa2a48222bb7632e6812
- Anyone running Linux 6.18

## Description

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.

## Affected and fixed versions

- Linux: \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 96889fcdb0988108a19a29b0467717a503651a73; \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 494ffd1712a588e590e6b1e9f876a8c8b24a9180; \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 3d9593ad1a58c5acc3e5fa2a48222bb7632e6812 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 3d9593ad1a58c5acc3e5fa2a48222bb7632e6812 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46210. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46210.md
Affected: Linux >= 5ad964ad5656668399f00c76707f0d063b64a4b1, < 96889fcdb0988108a19a29b0467717a503651a73; >= 5ad964ad5656668399f00c76707f0d063b64a4b1, < 494ffd1712a588e590e6b1e9f876a8c8b24a9180; >= 5ad964ad5656668399f00c76707f0d063b64a4b1, < 3d9593ad1a58c5acc3e5fa2a48222bb7632e6812; Linux 6.18
Fixed in: Linux 96889fcdb0988108a19a29b0467717a503651a73, Linux 494ffd1712a588e590e6b1e9f876a8c8b24a9180, Linux 3d9593ad1a58c5acc3e5fa2a48222bb7632e6812

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46210 being exploited?

There is no confirmed exploitation: CVE-2026-46210 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46210?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46210?

Linux \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 96889fcdb0988108a19a29b0467717a503651a73; \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 494ffd1712a588e590e6b1e9f876a8c8b24a9180; \>= 5ad964ad5656668399f00c76707f0d063b64a4b1, \< 3d9593ad1a58c5acc3e5fa2a48222bb7632e6812; Linux 6.18.

### Is there a fix for CVE-2026-46210?

Yes. Fixed in Linux 96889fcdb0988108a19a29b0467717a503651a73, Linux 494ffd1712a588e590e6b1e9f876a8c8b24a9180, Linux 3d9593ad1a58c5acc3e5fa2a48222bb7632e6812. Upgrade Linux to 3d9593ad1a58c5acc3e5fa2a48222bb7632e6812 or later.

### How do I check if I'm affected by CVE-2026-46210?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/494ffd1712a588e590e6b1e9f876a8c8b24a9180>
- patch: <https://git.kernel.org/stable/c/3d9593ad1a58c5acc3e5fa2a48222bb7632e6812>
- other: <https://git.kernel.org/stable/c/96889fcdb0988108a19a29b0467717a503651a73>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46210>

HTML: <https://flawdb.com/CVE-2026-46210> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46210>
