Skip to main content
Vulnerability Database/CVE-2026-97578

CVE-2026-97578: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-97578 is a privilege escalation vulnerability in the Linux kernel media subsystem affecting the Verisilicon Rockchip VPU981 AV1 decoder. This post covers the technical details, affected versions, and mitigation steps.

Published:

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-97578 Overview

CVE-2026-97578 is a Linux kernel vulnerability in the Verisilicon Rockchip VPU981 AV1 video decoder driver. The function rockchip_vpu981_av1_dec_set_tile_info() divides context_update_tile_id by tile_info->tile_cols and writes one descriptor per tile into a DMA buffer sized for AV1_MAX_TILES entries. Because tile_cols and tile_rows originate from the bitstream, a crafted AV1 stream can trigger a divide-by-zero or cause descriptor writes to exceed the tile_info DMA buffer. A local attacker with the ability to submit decode jobs can trigger memory corruption or a kernel crash.

Critical Impact

Local attackers able to feed crafted AV1 bitstreams to the VPU981 decoder can cause kernel memory corruption or denial of service on affected Rockchip platforms.

Affected Products

  • Linux kernel versions containing the rockchip_vpu981_av1_dec_set_tile_info() function in the Verisilicon media driver
  • Rockchip platforms using the VPU981 AV1 hardware decoder
  • Downstream distributions shipping the vulnerable kernel driver prior to the referenced stable patches

Discovery Timeline

  • 2026-09-25 - CVE-2026-97578 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97578

Vulnerability Analysis

The flaw resides in the Rockchip VPU981 AV1 decoder path within the Verisilicon media driver. rockchip_vpu981_av1_dec_set_tile_info() consumes AV1 tile geometry fields (tile_cols, tile_rows, and context_update_tile_id) that are parsed directly from the input bitstream. Two related issues exist in the same routine.

First, the function performs an integer division of context_update_tile_id by tile_info->tile_cols without validating that the divisor is non-zero. A bitstream declaring tile_cols = 0 reaches the division and causes a kernel-side divide-by-zero fault.

Second, the routine writes one descriptor per tile into a fixed-size DMA buffer that holds at most AV1_MAX_TILES entries. Because the loop bound is derived from attacker-controlled tile counts, descriptor writes can run past the end of the tile_info buffer, producing an out-of-bounds write into kernel DMA memory.

Root Cause

The root cause is insufficient validation of bitstream-supplied tile metadata before it is used as a divisor and as a loop bound for DMA descriptor writes. Control-level validation of per-dimension and total tile bounds exists for the hardware registers, but the tile_info descriptor path did not enforce the same invariants.

Attack Vector

Exploitation requires local access with the ability to submit video decode operations to the VPU981 driver through the V4L2 interface. An attacker supplies a malformed AV1 stream with tile_cols set to zero or with tile counts large enough to exhaust the AV1_MAX_TILES descriptor buffer. The result is a kernel oops at minimum, with potential for memory corruption depending on allocator state.

No verified public exploit code is available. See the upstream fixes referenced below for the exact bounds and divisor checks that were added.

Detection Methods for CVE-2026-97578

Indicators of Compromise

  • Kernel oops or panic logs referencing rockchip_vpu981_av1_dec_set_tile_info or divide error traces in the Verisilicon media driver
  • Unexpected dmesg entries showing DMA buffer corruption or slab out-of-bounds reports from KASAN-enabled kernels on Rockchip platforms
  • Repeated V4L2 decode failures from untrusted user processes submitting AV1 streams

Detection Strategies

  • Monitor kernel ring buffers for faults originating in the rockchip-vpu or hantro media stack on affected hardware
  • Correlate crashes of video decoding user-space processes with concurrent kernel traces mentioning AV1 tile parsing
  • Audit which local accounts and containers have access to /dev/video* nodes bound to the VPU981 decoder

Monitoring Recommendations

  • Forward kernel logs from Rockchip-based fleets to a central log store and alert on divide error, BUG:, and KASAN entries
  • Track kernel versions deployed across edge and embedded devices to confirm the fix commits are present
  • Review process execution telemetry for unexpected binaries interacting with V4L2 decoder nodes

How to Mitigate CVE-2026-97578

Immediate Actions Required

  • Update affected Linux kernels to a stable release that includes the Verisilicon Rockchip VPU981 fix commits
  • Restrict access to V4L2 decoder device nodes so only trusted processes can submit AV1 bitstreams
  • Rebuild and redeploy container or firmware images on Rockchip devices that embed vulnerable kernel versions

Patch Information

The issue is resolved by initialising the context-update values to zero and computing them only when tile_cols is non-zero, and by stopping descriptor writes once the tile_info buffer is full. The tile geometry written to the hardware registers is unchanged; the per-dimension and total tile bounds remain enforced by the control validation layer. Fix commits are available in the upstream stable tree: Kernel Git Commit 6b7a281, Kernel Git Commit 7baa7bb, Kernel Git Commit 8f19d86, and Kernel Git Commit b84f653.

Workarounds

  • Unload or blacklist the Rockchip VPU981 driver module on systems that do not require hardware AV1 decoding
  • Enforce strict file permissions and mandatory access controls on /dev/video* nodes exposed by the VPU981 decoder
  • Disallow untrusted user workloads from accessing hardware video decoders until patched kernels are deployed
bash
# Verify kernel version and restrict access to the VPU981 decoder node
uname -r
ls -l /dev/video*
chown root:video /dev/video0
chmod 0660 /dev/video0

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.