CVE-2026-97577: media: verisilicon: rockchip: reject AV1 frames exceeding the tile capacity
In the Linux kernel, the following vulnerability has been resolved:
media: verisilicon: rockchip: reject AV1 frames exceeding the tile capacity
rockchipvpu981av1decsettileinfo() indexes the tile group entry array by tile1 tilecols + tile0, reading up to tilecols tilerows entries, lays out one descriptor per tile in the AV1MAXTILES tileinfo buffer, and programs the real tilecols / tilerows into the hardware.
The tile group entry control is a dynamic array sized to the number of entries userspace submitted, independent of tilecols / tilerows, so a frame that claims more tiles than entries reads past the array. A frame that claims more than AV1MAXTILES tiles also leaves the hardware programmed for more tiles than the descriptor buffer holds.
Reject both in preparerun(): tilecols tilerows must not exceed the submitted entry count or AV1MAXTILES. The entry count is read via v4l2ctrlfind() (ctrl->elems). This mirrors the bound the mediatek AV1 decoder already enforces.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Reject AV1 frames when tile_cols * tile_rows exceeds the submitted tile-group entry count or AV1_MAX_TILES, preventing rockchip_vpu981_av1_dec_set_tile_info() from indexing beyond the descriptor buffer.
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems using the Rockchip VPU981 AV1 decoder path in the Linux media subsystem are exposed when they process AV1 frame data and associated tile-group controls supplied by userspace.
What does an attacker need to provide to trigger the flaw?
An attacker needs to cause userspace to submit an AV1 frame whose tile_cols multiplied by tile_rows exceeds either the number of submitted tile-group entries or AV1_MAX_TILES. The malformed tile configuration can otherwise cause reads beyond the tile-group entry array or hardware programming beyond the descriptor buffer capacity.
Are frames with large tile counts now accepted safely?
No. The fix rejects a frame during prepare_run() if its total tile count exceeds the submitted entry count or AV1_MAX_TILES.