Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97576 Overview
CVE-2026-97576 is a Linux kernel vulnerability in the Video4Linux2 (V4L2) controls subsystem. The flaw resides in the stateless High Efficiency Video Coding (HEVC) decoder path, specifically in std_validate_compound(). The function fails to bound the num_tile_columns_minus1 and num_tile_rows_minus1 fields in a V4L2_CTRL_TYPE_HEVC_PPS compound control. Decoders then read entries from column_width_minus1[] and row_height_minus1[] using these unvalidated u8 counts as loop bounds. A local user with access to a V4L2 device node can trigger out-of-bounds reads from kernel memory.
Critical Impact
A local attacker with access to a V4L2 HEVC decoder device can corrupt kernel memory or trigger denial of service through unvalidated tile count fields.
Affected Products
- Linux kernel stateless HEVC decoder drivers using v4l2-ctrls
- Kernel builds exposing V4L2_CTRL_TYPE_HEVC_PPS compound controls
- Downstream distributions shipping affected media subsystem versions
Discovery Timeline
- 2026-09-25 - CVE CVE-2026-97576 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97576
Vulnerability Analysis
The stateless HEVC decoder in the Linux media subsystem consumes Picture Parameter Set (PPS) data supplied by userspace through V4L2 compound controls. When tiling is enabled, decoders iterate across num_tile_columns_minus1 + 1 columns and num_tile_rows_minus1 + 1 rows. These counts drive memory accesses into the fixed-size column_width_minus1[] and row_height_minus1[] arrays defined by the uAPI.
The validation routine std_validate_compound() enforces generic range checks on compound controls but omits bounds checking for these tile count fields. Because the counts are stored as u8 values, userspace can submit values up to 255, far exceeding the uAPI array capacity. Decoder loops then read past the intended array bounds, producing out-of-bounds memory access during PPS processing.
Root Cause
The root cause is missing input validation in std_validate_compound() for HEVC PPS tile count fields. The patched code rejects any V4L2_CTRL_TYPE_HEVC_PPS whose tile counts exceed the uAPI array capacity when tiling is enabled, mirroring the existing compound-control range checks applied to other fields.
Attack Vector
Exploitation requires local access to an affected V4L2 device node, typically /dev/videoN, with permissions to issue VIDIOC_S_EXT_CTRLS requests carrying a crafted V4L2_CTRL_TYPE_HEVC_PPS payload. The attacker sets num_tile_columns_minus1 or num_tile_rows_minus1 to a value larger than the uAPI array capacity and enables tiling. The decoder then dereferences past the fixed-size tile dimension arrays. See the kernel commit references for the exact validation logic applied in the fix.
Detection Methods for CVE-2026-97576
Indicators of Compromise
- Kernel log entries referencing faults within v4l2-ctrls, std_validate_compound, or HEVC decoder drivers
- Unexpected SIGSEGV or kernel oops traces originating from processes using V4L2 HEVC decode controls
- KASAN reports flagging out-of-bounds reads in HEVC PPS tile processing
Detection Strategies
- Monitor process execution and ioctl activity targeting /dev/video* nodes by unprivileged users
- Audit kernel version strings on Linux hosts to flag unpatched media subsystem builds
- Correlate crash telemetry with V4L2_CTRL_TYPE_HEVC_PPS control usage in userspace media stacks
Monitoring Recommendations
- Enable KASAN or kernel address sanitizer builds in test environments to catch out-of-bounds accesses early
- Forward dmesg and journald kernel subsystem events to a centralized log pipeline for review
- Track package versions of distribution kernels against upstream stable branches that include the fix
How to Mitigate CVE-2026-97576
Immediate Actions Required
- Apply the upstream kernel patches referenced in the fix commits as soon as distribution packages are available
- Restrict access to /dev/video* device nodes to trusted users and groups through filesystem permissions
- Audit container and sandbox profiles to confirm V4L2 device passthrough is intentional
Patch Information
The fix adds bounds checking for HEVC PPS tile count fields inside std_validate_compound(). Reference the upstream commits for the exact change: commit 400cd78a63cc, commit ba1023d3a6d5, commit c7b1ef6dc57f, and commit dc694a9929f7.
Workarounds
- Remove or restrict permissions on V4L2 HEVC decoder device nodes until patches are deployed
- Blacklist unneeded stateless HEVC decoder kernel modules on systems that do not require hardware video decode
- Use mandatory access controls such as SELinux or AppArmor to limit which processes may invoke V4L2 controls
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

