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
Published: 2026-08-10
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the Meson video decode driver of the Linux kernel. When the device is opened, a failure in the control initialization path bypassed the release of the media-to-media (m2m) context, leaving orphaned kernel memory allocated by the driver. Repeated failures could potentially lead to a cumulative memory leak that may exhaust kernel memory, an outcome inferred from the mechanism of the leak.

Affected Systems

All Linux kernel builds that include the Meson video decode driver before the fix, regardless of distribution, are affected. The issue applies until the kernel source is updated with the err_m2m_ctx_release label introduced in the commit that addresses the leak.

Risk and Exploitability

The CVSS score is not provided; however, the EPSS score of less than 1% indicates a very low probability of exploitation in the wild. A potential exploitation scenario would involve an attacker opening the relevant video device; it is inferred that /dev/v4l2 devices may be accessible to regular users on many systems, but this is not stated explicitly in the CVE description. While exploitation is unlikely, the memory leakage could accumulate over time, increasing the chance of a denial of service if the vulnerability is triggered repeatedly—this is an inference drawn from the nature of the leak. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

Generated by OpenCVE AI on August 13, 2026 at 08:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the Meson vdec memory‑leak fix
  • After updating, verify that the kernel reports no orphaned video device memory allocations through tools such as kmemleak or dmesg
  • If a patch cannot be applied immediately, restrict or remove access to the /dev/v4l2 video devices to prevent repeated opens that may trigger the leak

Generated by OpenCVE AI on August 13, 2026 at 08:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Thu, 13 Aug 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-401

Wed, 12 Aug 2026 00:15:00 +0000


Mon, 10 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399
CWE-401

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
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
Title media: meson: vdec: Fix memory leak in error path of vdec_open
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:31:54.081Z

Reserved: 2026-07-30T09:28:09.375Z

Link: CVE-2026-68223

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:10.440

Modified: 2026-08-19T17:20:38.277

Link: CVE-2026-68223

cve-icon Redhat

Severity :

Publid Date: 2026-08-10T00:00:00Z

Links: CVE-2026-68223 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T08:45:03Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime