
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38226 is a vulnerability discovered in the Linux kernel's media subsystem, specifically affecting the VIVID (Virtual Video Driver) component. The vulnerability was disclosed on July 4, 2025, and involves an out-of-bounds condition in the video buffer handling mechanism (NVD, CVE).
The vulnerability manifests as a vmalloc-out-of-bounds issue in the tpg_fill_plane_pattern function within drivers/media/common/v4l2-tpg/v4l2-tpg-core.c. The bug occurs when handling video buffer composition, where the composition size can exceed the size of fmt_cap_rect. The issue was identified through syzkaller testing and involves a write of size 1440 at a specific memory address. The vulnerability has been assigned a CVSS v3.1 score of 5.5 with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat).
The vulnerability can lead to memory corruption through out-of-bounds write operations in the kernel's video subsystem. This could potentially result in system crashes or denial of service conditions when processing video buffers through the affected component (NVD).
The fix involves implementing proper boundary checks by executing v4l2_rect_map_inside() even when has_compose_cap is set to 0. This ensures that the composition size cannot exceed the size of fmt_cap_rect (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."