CVE-2026-68223: media: meson: vdec: Fix memory leak in error path of vdec_open

Published Aug 10, 2026
·
Updated

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

media: meson: vdec: Fix memory leak in error path of vdecopen

The vdecopen() function previously jumped directly to errm2mrelease when vdecinitctrls() failed, skipping release of the m2m context. This caused a resource leak.

Fix it by introducing a proper errm2mctxrelease label that calls v4l2m2mctxrelease(sess->m2mctx) before releasing the m2m device.

This was identified via kmemleak: unreferenced object 0xffff0000205d6878 (size 8): comm "v4lid", pid 5289, jiffies 4294938580 hex dump (first 8 bytes): 40 d2 49 18 00 00 ff ff @.I..... backtrace (crc d3204599): kmemleakalloc+0xc8/0xf0 kvmallocnodenoprof+0x60c/0x850 v4l2ctrlhandlerinitclass+0x1b4/0x2e8 [videodev] vdecopen+0x1f4/0x788 [mesonvdec] v4l2open+0x144/0x460 [videodev] chrdevopen+0x1ac/0x500 dodentryopen+0x3f0/0xfe8 vfsopen+0x68/0x320 doopen+0x2d8/0x9a8 pathopenat+0x1d0/0x4f0 dofilpopen+0x190/0x380 dosysopenat2+0xf8/0x1b0 arm64sysopenat+0x13c/0x1e8 invokesyscall+0xdc/0x268 el0svccommon.constprop.0+0x178/0x258 doel0svc+0x4c/0x70

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Fix the resource leak in vdec_open() error path by introducing a proper err_m2m_ctx_release label so that when vdec_init_ctrls() fails, the code calls v4l2_m2m_ctx_release(sess->m2m_ctx) before releasing the m2m device (this prevents skipping the context release).

    Linux kernel (media: meson: vdec) err_m2m_ctx_release label introduced; ensure v4l2_m2m_ctx_release(sess->m2m_ctx) is called on error path = apply code change so error path calls v4l2_m2m_ctx_release before releasing the m2m device

Event History

Aug 10, 2026
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68223?

CVE-2026-68223 has a risk rating of 5.

2

What is CVE-2026-68223 about?

CVE-2026-68223 addresses a memory leak in the vdec_open function within the Linux kernel's media framework.

3

How do I fix CVE-2026-68223?

To fix CVE-2026-68223, update your Linux kernel to the version that includes the patch for this vulnerability.

4

What are the consequences of CVE-2026-68223?

The consequences of CVE-2026-68223 include potential resource leaks that can affect system performance and stability.

5

Which component is affected by CVE-2026-68223?

CVE-2026-68223 affects the media subsystem, specifically the meson video decoder in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203