Linux
media: v4l2-ctrls: validate AV1 tile counts
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-ctrls: validate AV1 tile counts The stateless AV1 decoders use tile_info.tile_cols and tile_rows as loop bounds and as indices into the mi_*_starts[] and *_in_sbs_minus_1[] arrays, as the divisor for context_update_tile_id, and their product bounds the per-tile descriptor buffers, but std_validate_compound() does not bound these u8 fields. Reject a V4L2_CTRL_TYPE_AV1_FRAME whose tile_cols or tile_rows exceeds V4L2_AV1_MAX_TILE_COLS / _ROWS, or whose product exceeds V4L2_AV1_MAX_TILE_COUNT. A zero tile count is left to the consuming driver so the zero-initialised control that existing userspace submits is still accepted.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9de30f579980b498606a9c2440b73ae3b670771b, < 1afaf85c4990fb1e3168d0d6e99246a65e526f1b
- >= 9de30f579980b498606a9c2440b73ae3b670771b, < 85df9fc79b07f1cc7c953f930ae7e675d0c1e820
- >= 9de30f579980b498606a9c2440b73ae3b670771b, < c8891da0186fe4c04bccbbd7d84b01a3c941ac7a
- >= 9de30f579980b498606a9c2440b73ae3b670771b, < c4c88b5ba85685043d171e0e9c9d00a8cf6a89e8
- >= 9de30f579980b498606a9c2440b73ae3b670771b, < 439058ced617fbb3febc017b9e93bb7387f309e0
Fixed in 1afaf85c4990fb1e3168d0d6e99246a65e526f1b, 85df9fc79b07f1cc7c953f930ae7e675d0c1e820, c8891da0186fe4c04bccbbd7d84b01a3c941ac7a, c4c88b5ba85685043d171e0e9c9d00a8cf6a89e8, 439058ced617fbb3febc017b9e93bb7387f309e0
- 6.5
Fixed in 0, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3
Mitigation
Upgrade Linux to 1afaf85c4990fb1e3168d0d6e99246a65e526f1b or 85df9fc79b07f1cc7c953f930ae7e675d0c1e820 or c8891da0186fe4c04bccbbd7d84b01a3c941ac7a or c4c88b5ba85685043d171e0e9c9d00a8cf6a89e8 or 439058ced617fbb3febc017b9e93bb7387f309e0 or later.
Upgrade Linux to 0 or 6.6.158 or 6.12.111 or 6.18.53 or 7.2.7 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.