{"id":65554,"date":"2025-07-04T19:32:14","date_gmt":"2025-07-04T16:02:14","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-38226-linux-kernel-v4l2-tpg-out-of-bounds-write-vulnerability\/"},"modified":"2025-07-04T19:32:14","modified_gmt":"2025-07-04T16:02:14","slug":"cve-2025-38226-linux-kernel-v4l2-tpg-out-of-bounds-write-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-38226-linux-kernel-v4l2-tpg-out-of-bounds-write-vulnerability\/","title":{"rendered":"CVE-2025-38226 &#8211; Linux Kernel V4L2 TPG Out-of-Bounds Write Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-38226<br \/>\n<br \/>\n<strong>Published : <\/strong> July 4, 2025, 2:15 p.m. | 44\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>media: vivid: Change the siize of the composing<\/p>\n<p>syzkaller found a bug:<\/p>\n<p>BUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_pattern drivers\/media\/common\/v4l2-tpg\/v4l2-tpg-core.c:2608 [inline]\nBUG: KASAN: vmalloc-out-of-bounds in tpg_fill_plane_buffer+0x1a9c\/0x5af0 drivers\/media\/common\/v4l2-tpg\/v4l2-tpg-core.c:2705<br \/>\nWrite of size 1440 at addr ffffc9000d0ffda0 by task vivid-000-vid-c\/5304<\/p>\n<p>CPU: 0 UID: 0 PID: 5304 Comm: vivid-000-vid-c Not tainted 6.14.0-rc2-syzkaller-00039-g09fbf3d50205 #0<br \/>\nHardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04\/01\/2014<\/p>\n<p>Call Trace:<\/p>\n<p> __dump_stack lib\/dump_stack.c:94 [inline]\n dump_stack_lvl+0x241\/0x360 lib\/dump_stack.c:120<br \/>\n print_address_description mm\/kasan\/report.c:378 [inline]\n print_report+0x169\/0x550 mm\/kasan\/report.c:489<br \/>\n kasan_report+0x143\/0x180 mm\/kasan\/report.c:602<br \/>\n kasan_check_range+0x282\/0x290 mm\/kasan\/generic.c:189<br \/>\n __asan_memcpy+0x40\/0x70 mm\/kasan\/shadow.c:106<br \/>\n tpg_fill_plane_pattern drivers\/media\/common\/v4l2-tpg\/v4l2-tpg-core.c:2608 [inline]\n tpg_fill_plane_buffer+0x1a9c\/0x5af0 drivers\/media\/common\/v4l2-tpg\/v4l2-tpg-core.c:2705<br \/>\n vivid_fillbuff drivers\/media\/test-drivers\/vivid\/vivid-kthread-cap.c:470 [inline]\n vivid_thread_vid_cap_tick+0xf8e\/0x60d0 drivers\/media\/test-drivers\/vivid\/vivid-kthread-cap.c:629<br \/>\n vivid_thread_vid_cap+0x8aa\/0xf30 drivers\/media\/test-drivers\/vivid\/vivid-kthread-cap.c:767<br \/>\n kthread+0x7a9\/0x920 kernel\/kthread.c:464<br \/>\n ret_from_fork+0x4b\/0x80 arch\/x86\/kernel\/process.c:148<br \/>\n ret_from_fork_asm+0x1a\/0x30 arch\/x86\/entry\/entry_64.S:244<\/p>\n<p>The composition size cannot be larger than the size of fmt_cap_rect.<br \/>\nSo execute v4l2_rect_map_inside() even if has_compose_cap == 0.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 0.0 | NA<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-38226 Published : July 4, 2025, 2:15 p.m. | 44\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-65554","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=65554"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65554\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=65554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=65554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=65554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}