CVE-2026-138914

HighCVSS 7.8/10Last modified Dec 1, 2026

Description

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

media: meson: vdec: size capture planes from the aligned canvas

The decoder writes a whole canvas of ALIGN(width, 32) x ALIGN(height, 32) (amvdec_set_canvases()) and reports bytesperline = ALIGN(width, 32), but get_output_size() derives sizeimage from the raw width x height.

When the width is not a multiple of 32 the planes are too small for the advertised stride: for 720x360 NV12M the luma plane is 262144 bytes while 736 * 360 = 264960 are needed (282624 for the canvas the firmware fills). The decoder writes past the buffer, and importing the capture dma-buf into DRM fails: drmModeAddFB2() returns -EINVAL, so e.g. Kodi plays the sound over a black screen. 1280x720 and 1920x1080 are not affected.

Size the planes from the aligned canvas the hardware actually uses.

Tested on an S905X (GXL p212) board with LibreELEC 12 (6.16.0-rc3): 720x360 and 1920x1080 H.264 play through V4L2 m2m + DRM PRIME with no AddFB2 errors.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < c587de78ffa123d17a93026d78da7e76823cc4e0; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < cb46dc57d169509e69a3e218e970785c2b79f7f8; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < 6668d9052231ae3daf6c8bfc8f6d379f1f35ffd5; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < 0d6bc58d7f319c63f8525efb630de1ce55b7d780; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < 10a7475bc6d1cef7d5c1e7f27c8de4a011ebbbed; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < b186accb1d7d8f9aa7b5183d7eb9ff26ac568ce3; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < 2f643182e4feef3a41bec2dd98c1294750392326; >= 3e7f51bd96077acad6acd7b45668f65b44233c4e, < b3a805dd5a83ba8c85e2085d3411eb9975e0aea4
LinuxLinux5.3

References

Timeline

Published
Nov 30, 2026
Last modified
Dec 1, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138915In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Balance runtime PM on encoder close errors CVE-2026-138916In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Handle polling IRQ thread failure When fallCVE-2026-138917In the Linux kernel, the following vulnerability has been resolved: media: rockchip: rga: quiesce IRQ before releasing m2m state rga_removCVE-2026-138918In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Pin the host vCPU before adjusting its PC under pKVM UnderCVE-2026-138919In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Validate the host vCPU's VM before reading it under pKVM OCVE-2026-138926.5Inappropriate implementation in Chrome for iOS in Google Chrome on iOS prior to 150.0.7871.47 allowed a remote attacker who convinced a userCVE-2026-138920In the Linux kernel, the following vulnerability has been resolved: hwrng: ba431 - fix reported byte count Use the size of the buffer elemCVE-2026-1389217.8In the Linux kernel, the following vulnerability has been resolved: crypto: caam - fix double-free in caam_rsa_set_priv_key_form() caam_rsCVE-2026-138922In the Linux kernel, the following vulnerability has been resolved: crypto: sa2ul - Fix HMAC key preparation sa_prepare_iopads() has multiCVE-2026-138923In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Fix NULL deref on events for uninitialized controls ACVE-2026-138924In the Linux kernel, the following vulnerability has been resolved: pps: generators: stop the generator on unregister Both generator driveCVE-2026-138925In the Linux kernel, the following vulnerability has been resolved: dm-writecache: fix REQ_FUA processing REQ_FUA did not flush metadata i
CVE-2026-138914: High severity, CVSS 7.8 | Vulnix