CVE-2023-53748
NoneCVSS
—
EPSS
0.1%
Published
Dec 8, 2025
CISA due date
—
Cloudanix analysis
A mistake in video handling code lets attackers send bad numbers that can crash the system or run harmful code.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Buffer Overflow
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
User-supplied *nplanes value (1-8) bypasses bounds check against q_data->fmt->num_planes (limited to 1-3), enabling out-of-bounds array access during decoder queue_setup.
Why it matters to the business
May cause crashes, memory corruption, or code execution in video decoding paths on affected Linux systems, increasing risk of service disruption or compromise in media processing workloads.
How an attack unfolds
An attacker invokes the relevant system call with an oversized nplanes argument to reach the unchecked array indexing inside the mediatek vcodec decoder path, leading to memory corruption that can be leveraged for further attacks.
How to fix it
Apply the upstream fix that validates *nplanes against the actual array size before indexing. Upgrade affected packages to the listed fixed versions where available; otherwise backport the bounds check into the vcodec decoder queue_setup function.
How to confirm the fix worked
Confirm the patch is present by inspecting the queue_setup implementation for an explicit bounds comparison of *nplanes before the loop over fmt->num_planes, and verify the running kernel version matches a fixed release.
Typical attack path
- Locate a system running an unpatched kernel with the mediatek vcodec decoder enabled
- Prepare a malicious system call supplying nplanes value between 4 and 8
- Trigger decoder queue_setup via media framework
- Exploit resulting out-of-bounds write or read for privilege escalation or denial of service
How to detect it
Review kernel logs and audit trails for unusual media decoder queue_setup calls or crashes with array index errors; correlate with process activity involving vcodec or mediatek drivers.
What your security team should do
- Prioritize patching kernels that expose the mediatek vcodec decoder to untrusted input
- Monitor EPSS and exploit maturity indicators for any rise in observed attempts
- Restrict access to media decoding syscalls from unprivileged processes until updated
The record
In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup variable *nplanes is provided by user via system call argument. The possible value of q_data->fmt->num_planes is 1-3, while the value of *nplanes can be 1-8. The array access by index i can cause array out-of-bounds. Fix this bug by checking *nplanes against the array size.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 0 | 6.1.30 |
| Linux | Kernel | 4.10.0 | 6.1.30 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel