CVE-2026-138914
media: meson: vdec: size capture planes from the aligned canvas
Check your servers for CVE-2026-138914
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138914 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.26% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3e7f51bd96077acad6acd7b45668f65b44233c4e, before c587de78ffa123d17a93026d78da7e76823cc4e0 affected from 3e7f51bd96077acad6acd7b45668f65b44233c4e, before cb46dc57d169509e69a3e218e970785c2b79f7f8 affected from 3e7f51bd96077acad6acd7b45668f65b44233c4e, before 6668d9052231ae3daf6c8bfc8f6d379f1f35ffd5 affected from 3e7f51bd96077acad6acd7b45668f65b44233c4e, before 0d6bc58d7f319c63f8525efb630de1ce55b7d780 affected from 3e7f51bd96077acad6acd7b45668f65b44233c4e, before 10a7475bc6d1cef7d5c1e7f27c8de4a011ebbbed affected from 3e7f51bd96077acad6acd7b45668f65b44233c4e, before b186accb1d7d8f9aa7b5183d7eb9ff26ac568ce3 affected from 3e7f51bd96077acad6acd7b45668f65b44233c4e, before 2f643182e4feef3a41bec2dd98c1294750392326 affected from 3e7f51bd96077acad6acd7b45668f65b44233c4e, before b3a805dd5a83ba8c85e2085d3411eb9975e0aea4
Other versions: unaffected
|
| Linux |
affected 5.3 unaffected before 5.3 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138914 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138914
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138914
trivy image --scanners vuln IMAGE | grep CVE-2026-138914
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c587de78ffa123d17a93026d78da7e76823cc4e0 git.kernel.org
- https://git.kernel.org/stable/c/cb46dc57d169509e69a3e218e970785c2b79f7f8 git.kernel.org
- https://git.kernel.org/stable/c/6668d9052231ae3daf6c8bfc8f6d379f1f35ffd5 git.kernel.org
- https://git.kernel.org/stable/c/0d6bc58d7f319c63f8525efb630de1ce55b7d780 git.kernel.org
- https://git.kernel.org/stable/c/10a7475bc6d1cef7d5c1e7f27c8de4a011ebbbed git.kernel.org
- https://git.kernel.org/stable/c/b186accb1d7d8f9aa7b5183d7eb9ff26ac568ce3 git.kernel.org
- https://git.kernel.org/stable/c/2f643182e4feef3a41bec2dd98c1294750392326 git.kernel.org
- https://git.kernel.org/stable/c/b3a805dd5a83ba8c85e2085d3411eb9975e0aea4 git.kernel.org
Source: the record CVE-2026-138914 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse