# CVE-2026-138914

- Bağlantı: https://www.allsafe.com.tr/cve-2026-138914/
- Yayımlanma: 2026-11-30T17:17:50+03:00
- Yazar: Postmaster

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 720×360 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. 1280×720 and 1920×1080
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):
 720×360 and
1920×1080 H.264 play through V4L2 m2m + DRM PRIME with no AddFB2 errors.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-138914)
