{"id":"CVE-2026-138914","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:50.110","lastModified":"2026-12-01T06:17:31.043","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: meson: vdec: size capture planes from the aligned canvas\n\nThe decoder writes a whole canvas of ALIGN(width, 32) x ALIGN(height, 32)\n(amvdec_set_canvases()) and reports bytesperline = ALIGN(width, 32), but\nget_output_size() derives sizeimage from the raw width x height.\n\nWhen the width is not a multiple of 32 the planes are too small for the\nadvertised stride: for 720x360 NV12M the luma plane is 262144 bytes while\n736 * 360 = 264960 are needed (282624 for the canvas the firmware fills).\nThe decoder writes past the buffer, and importing the capture dma-buf\ninto DRM fails: drmModeAddFB2() returns -EINVAL, so e.g. Kodi plays the\nsound over a black screen. 1280x720 and 1920x1080 are not affected.\n\nSize the planes from the aligned canvas the hardware actually uses.\n\nTested on an S905X (GXL p212) board with LibreELEC 12 (6.16.0-rc3):\n720x360 and 1920x1080 H.264 play through V4L2 m2m + DRM PRIME with no\nAddFB2 errors."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/staging/media/meson/vdec/vdec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3e7f51bd96077acad6acd7b45668f65b44233c4e","lessThan":"c587de78ffa123d17a93026d78da7e76823cc4e0","versionType":"git","status":"affected"},{"version":"3e7f51bd96077acad6acd7b45668f65b44233c4e","lessThan":"cb46dc57d169509e69a3e218e970785c2b79f7f8","versionType":"git","status":"affected"},{"version":"3e7f51bd96077acad6acd7b45668f65b44233c4e","lessThan":"6668d9052231ae3daf6c8bfc8f6d379f1f35ffd5","versionType":"git","status":"affected"},{"version":"3e7f51bd96077acad6acd7b45668f65b44233c4e","lessThan":"0d6bc58d7f319c63f8525efb630de1ce55b7d780","versionType":"git","status":"affected"},{"version":"3e7f51bd96077acad6acd7b45668f65b44233c4e","lessThan":"10a7475bc6d1cef7d5c1e7f27c8de4a011ebbbed","versionType":"git","status":"affected"},{"version":"3e7f51bd96077acad6acd7b45668f65b44233c4e","lessThan":"b186accb1d7d8f9aa7b5183d7eb9ff26ac568ce3","versionType":"git","status":"affected"},{"version":"3e7f51bd96077acad6acd7b45668f65b44233c4e","lessThan":"2f643182e4feef3a41bec2dd98c1294750392326","versionType":"git","status":"affected"},{"version":"3e7f51bd96077acad6acd7b45668f65b44233c4e","lessThan":"b3a805dd5a83ba8c85e2085d3411eb9975e0aea4","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/staging/media/meson/vdec/vdec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.3","status":"affected"},{"version":"0","lessThan":"5.3","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/0d6bc58d7f319c63f8525efb630de1ce55b7d780","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/10a7475bc6d1cef7d5c1e7f27c8de4a011ebbbed","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2f643182e4feef3a41bec2dd98c1294750392326","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6668d9052231ae3daf6c8bfc8f6d379f1f35ffd5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b186accb1d7d8f9aa7b5183d7eb9ff26ac568ce3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b3a805dd5a83ba8c85e2085d3411eb9975e0aea4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c587de78ffa123d17a93026d78da7e76823cc4e0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cb46dc57d169509e69a3e218e970785c2b79f7f8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}