# CVE-2026-68223: media: meson: vdec: Fix memory leak in error path of vdec\_open

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-10T12:00:44.123Z
- **Modified:** 2026-08-19T17:20:38.277Z

## Who should check

- Anyone running Linux \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 5f97120d1a50c9efffe54425fac42bb7ef13ac86; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< fb77d6f4580f316c9148b942af0028ee489d121e; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< d9058a19731036c03a779bfe8c3ca0d9aa198599; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< c6cd08a71a630f19b10c318e76e3c56e1dd10e00; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 2cf0171ad594860e31723c671e37824ce12c01ea; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 1391b75bf0119b5d37f1c1c3078d452a01967f9b; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 99f3527bd1a27ff798d59177ed045b0dd87deaef; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 940f161f734b25f175a95d2684c2021f6323693a
- Anyone running Linux 5.3

## Description

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

media: meson: vdec: Fix memory leak in error path of vdec\_open

The vdec\_open() function previously jumped directly to
err\_m2m\_release when vdec\_init\_ctrls() failed, skipping
release of the m2m context. This caused a resource leak.

Fix it by introducing a proper err\_m2m\_ctx\_release label
that calls v4l2\_m2m\_ctx\_release(sess-\>m2m\_ctx) before
releasing the m2m device.

This was identified via kmemleak:
unreferenced object 0xffff0000205d6878 (size 8):
  comm "v4l\_id", pid 5289, jiffies 4294938580
  hex dump (first 8 bytes):
    40 d2 49 18 00 00 ff ff                          @.I.....
  backtrace (crc d3204599):
    kmemleak\_alloc+0xc8/0xf0
    \_\_kvmalloc\_node\_noprof+0x60c/0x850
    v4l2\_ctrl\_handler\_init\_class+0x1b4/0x2e8 \[videodev\]
    vdec\_open+0x1f4/0x788 \[meson\_vdec\]
    v4l2\_open+0x144/0x460 \[videodev\]
    chrdev\_open+0x1ac/0x500
    do\_dentry\_open+0x3f0/0xfe8
    vfs\_open+0x68/0x320
    do\_open+0x2d8/0x9a8
    path\_openat+0x1d0/0x4f0
    do\_filp\_open+0x190/0x380
    do\_sys\_openat2+0xf8/0x1b0
    \_\_arm64\_sys\_openat+0x13c/0x1e8
    invoke\_syscall+0xdc/0x268
    el0\_svc\_common.constprop.0+0x178/0x258
    do\_el0\_svc+0x4c/0x70

## Affected and fixed versions

- Linux: \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 5f97120d1a50c9efffe54425fac42bb7ef13ac86; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< fb77d6f4580f316c9148b942af0028ee489d121e; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< d9058a19731036c03a779bfe8c3ca0d9aa198599; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< c6cd08a71a630f19b10c318e76e3c56e1dd10e00; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 2cf0171ad594860e31723c671e37824ce12c01ea; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 1391b75bf0119b5d37f1c1c3078d452a01967f9b; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 99f3527bd1a27ff798d59177ed045b0dd87deaef; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 940f161f734b25f175a95d2684c2021f6323693a (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 940f161f734b25f175a95d2684c2021f6323693a 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-68223. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68223.md
Affected: Linux >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < 5f97120d1a50c9efffe54425fac42bb7ef13ac86; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < fb77d6f4580f316c9148b942af0028ee489d121e; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < d9058a19731036c03a779bfe8c3ca0d9aa198599; >= 3e7f51bd96077acad6acd7b…
Fixed in: Linux 5f97120d1a50c9efffe54425fac42bb7ef13ac86, Linux 2cf0171ad594860e31723c671e37824ce12c01ea, Linux 1391b75bf0119b5d37f1c1c3078d452a01967f9b, Linux 99f3527bd1a27ff798d59177ed045b0dd87deaef, Linux 940f161f734b25f175a95d2684c2021f6323693a

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-68223 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 5f97120d1a50c9efffe54425fac42bb7ef13ac86; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< fb77d6f4580f316c9148b942af0028ee489d121e; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< d9058a19731036c03a779bfe8c3ca0d9aa198599; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< c6cd08a71a630f19b10c318e76e3c56e1dd10e00; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 2cf0171ad594860e31723c671e37824ce12c01ea; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 1391b75bf0119b5d37f1c1c3078d452a01967f9b; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 99f3527bd1a27ff798d59177ed045b0dd87deaef; \>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, \< 940f161f734b25f175a95d2684c2021f6323693a; Linux 5.3.

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

Yes. Fixed in Linux 5f97120d1a50c9efffe54425fac42bb7ef13ac86, Linux 2cf0171ad594860e31723c671e37824ce12c01ea, Linux 1391b75bf0119b5d37f1c1c3078d452a01967f9b, Linux 99f3527bd1a27ff798d59177ed045b0dd87deaef, Linux 940f161f734b25f175a95d2684c2021f6323693a. Upgrade Linux to 940f161f734b25f175a95d2684c2021f6323693a or later.

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

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

- other: <https://git.kernel.org/stable/c/5f97120d1a50c9efffe54425fac42bb7ef13ac86>
- other: <https://git.kernel.org/stable/c/fb77d6f4580f316c9148b942af0028ee489d121e>
- other: <https://git.kernel.org/stable/c/d9058a19731036c03a779bfe8c3ca0d9aa198599>
- other: <https://git.kernel.org/stable/c/c6cd08a71a630f19b10c318e76e3c56e1dd10e00>
- other: <https://git.kernel.org/stable/c/2cf0171ad594860e31723c671e37824ce12c01ea>
- other: <https://git.kernel.org/stable/c/1391b75bf0119b5d37f1c1c3078d452a01967f9b>
- other: <https://git.kernel.org/stable/c/99f3527bd1a27ff798d59177ed045b0dd87deaef>
- other: <https://git.kernel.org/stable/c/940f161f734b25f175a95d2684c2021f6323693a>

## 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-68223>

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