CVE-2025-38226 Information
Description
In the Linux kernel the following vulnerability has been resolved:
media: vivid: Change the siize of the composing
syzkaller found a bug:
BUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_pattern drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2608 [inline] BUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_buffer+0x1a9c/0x5af0 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2705 Write of size 1440 at addr ffffc9000d0ffda0 by task vivid-000-vid-c/5304
CPU: 0 UID: 0 PID: 5304 Comm: vivid-000-vid-c Not tainted 6.14.0-rc2-syzkaller-00039-g09fbf3d50205 0 Hardware name: QEMU Standard PC (Q35 + ICH9 2009) BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
The composition size cannot be larger than the size of fmt_cap_rect. So execute v4l2_rect_map_inside() even if has_compose_cap == 0.
Reference
https://git.kernel.org/stable/c/00da1c767a6567e56f23dda586847586868ac064 https://git.kernel.org/stable/c/5d89aa42534723400fefd46e26e053b9c382b4ee https://git.kernel.org/stable/c/635cea4f44c1ddae208666772c164eab5a6bce39 https://git.kernel.org/stable/c/89b5ab822bf69867c3951dd0eb34b0314c38966b https://git.kernel.org/stable/c/c56398885716d97ee9bcadb2bc9663a8c1757a34 https://git.kernel.org/stable/c/f6b1b0f8ba0b61d8b511df5649d57235f230c135 https://git.kernel.org/stable/c/f83ac8d30c43fd902af7c84c480f216157b60ef0
Related CNNVD
CNNVD-202507-478 (Published: 2025-07-04)
Share on: