Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93236 Overview
CVE-2026-93236 is a NULL pointer dereference vulnerability in the Linux kernel's Amlogic Meson video decoder (vdec) driver. The flaw resides in the vdec_try_fmt_common() function within the media subsystem. When userspace issues a VIDIOC_TRY_FMT ioctl with an unsupported pixel format on the OUTPUT queue, the function falls back to V4L2_PIX_FMT_MPEG2. On kernels where MPEG2 support has been removed from the platform format table, find_format() returns NULL, and the subsequent dereference of fmt_out->max_width triggers a kernel crash.
Critical Impact
A local unprivileged user with access to the V4L2 video decoder device can trigger a kernel NULL pointer dereference, resulting in denial of service on affected Amlogic Meson-based systems.
Affected Products
- Linux kernel builds including the Amlogic Meson vdec media driver
- Distributions that patch out MPEG2 support from the Meson platform format table
- Amlogic SoC-based devices using the mainline V4L2 video decoder stack
Discovery Timeline
- 2026-09-24 - CVE CVE-2026-93236 published to NVD
- 2026-09-24 - Last updated in NVD database
Technical Details for CVE-2026-93236
Vulnerability Analysis
The vulnerability is a NULL pointer dereference [CWE-476] in the Video4Linux2 (V4L2) format negotiation path of the Meson video decoder driver. The vdec_try_fmt_common() function handles VIDIOC_TRY_FMT ioctl requests used by applications to validate pixel formats before committing them. When the caller supplies a pixel format not supported by the OUTPUT queue, the function unconditionally substitutes V4L2_PIX_FMT_MPEG2 as a safe default. The driver then calls find_format() to resolve this fallback against the platform's registered format array.
If the running platform table omits MPEG2, find_format() returns NULL. The driver does not validate this return value before accessing fmt_out->max_width, causing an immediate NULL dereference in kernel context. The crash halts the current task and may destabilize the system depending on preemption and lock state.
Root Cause
The root cause is an unchecked assumption that V4L2_PIX_FMT_MPEG2 is always present in every platform's format table. Downstream distribution patches that remove the long-broken MPEG2 decoder support invalidate this assumption. The upstream fix replaces the hardcoded MPEG2 fallback with the first entry in the platform's format array, which is guaranteed to exist because every supported platform defines at least one format.
Attack Vector
Exploitation requires local access to the /dev/videoX character device exposed by the Meson vdec driver. An attacker with permission to open the device issues a crafted VIDIOC_TRY_FMT ioctl specifying an unsupported pixel format on the OUTPUT queue. The resulting NULL dereference produces a kernel oops and denial of service. No remote attack vector exists, and no code execution primitive has been demonstrated.
The fix is distributed across multiple stable branches via the kernel git commits 20aa934, 276f28, 3839b6, 680a89, 96dafb, c62090, d61ba6, and f2375a. See the Kernel Git Commit 20aa934 for the reference change.
Detection Methods for CVE-2026-93236
Indicators of Compromise
- Kernel oops or panic messages referencing vdec_try_fmt_common or find_format in dmesg or /var/log/kern.log.
- Unexpected crashes of userspace media processes interacting with /dev/video* on Amlogic Meson devices.
- Repeated VIDIOC_TRY_FMT ioctl activity from untrusted or unexpected local processes.
Detection Strategies
- Monitor kernel ring buffer output for BUG: unable to handle kernel NULL pointer dereference entries correlated with the V4L2 media subsystem.
- Audit process access patterns to V4L2 video decoder device nodes using Linux auditd rules on /dev/video*.
- Review installed kernel package versions on Meson-based devices to identify systems missing the stable backport.
Monitoring Recommendations
- Collect kernel crash telemetry and symbolicated stack traces centrally for review of recurring vdec faults.
- Alert on processes repeatedly issuing V4L2 ioctls with invalid parameters, which may indicate fuzzing or probing activity.
- Track distribution advisories referencing CVE-2026-93236 to confirm patch availability across the fleet.
How to Mitigate CVE-2026-93236
Immediate Actions Required
- Apply the stable kernel update containing the upstream fix for vdec_try_fmt_common on all Amlogic Meson-based systems.
- Restrict access to /dev/video* devices to trusted users and groups using filesystem ACLs.
- Unload the meson-vdec kernel module on systems that do not require hardware video decoding.
Patch Information
The fix is available in multiple stable kernel branches through the commits referenced in the NVD entry, including Kernel Git Commit 20aa934, Kernel Git Commit 276f28, Kernel Git Commit 3839b6, Kernel Git Commit 680a89, Kernel Git Commit 96dafb, Kernel Git Commit c62090, Kernel Git Commit d61ba6, and Kernel Git Commit f2375a. The patch replaces the hardcoded V4L2_PIX_FMT_MPEG2 fallback with the first format in the platform's format array.
Workarounds
- Blacklist the meson-vdec kernel module where hardware video decoding is not required on the device.
- Tighten permissions on /dev/video* nodes via udev rules to limit the attack surface to a minimal trusted group.
- Deploy seccomp or AppArmor profiles for media applications to constrain V4L2 ioctl usage to known-valid formats.
# Example: restrict access to Meson vdec device nodes via udev
# /etc/udev/rules.d/99-meson-vdec.rules
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", DRIVERS=="meson-vdec", MODE="0660", GROUP="video"
# Optionally blacklist the module where decoding is not needed
echo "blacklist meson_vdec" | sudo tee /etc/modprobe.d/blacklist-meson-vdec.conf
sudo update-initramfs -u
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

