Linux
media: v4l2-ctrls: validate HEVC tile counts
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-ctrls: validate HEVC tile counts The stateless HEVC decoders read num_tile_columns_minus1 + 1 entries from column_width_minus1[] and num_tile_rows_minus1 + 1 from row_height_minus1[] and use them as tile-loop bounds, but std_validate_compound() does not bound these u8 counts. Reject a V4L2_CTRL_TYPE_HEVC_PPS with tiling enabled whose tile counts exceed the uAPI array capacity, mirroring the existing compound-control range checks.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 256fa3920874b0f1f4cb79ad6766493a22187153, < 9c0a718e24d4cd6d975f3df9740f968f62891a20
- >= 256fa3920874b0f1f4cb79ad6766493a22187153, < 975e0180488966bb709092a52408604bd4f4edd9
- >= 256fa3920874b0f1f4cb79ad6766493a22187153, < 724915535558b14c111ad8a498b896026dfe8d20
- >= 256fa3920874b0f1f4cb79ad6766493a22187153, < 400cd78a63cc647412cf069c9851bdea2818340c
- >= 256fa3920874b0f1f4cb79ad6766493a22187153, < c7b1ef6dc57f4e57fe27cfdd3bf82033ed91ca34
- >= 256fa3920874b0f1f4cb79ad6766493a22187153, < ba1023d3a6d5d244d59f20c4ba6af4879ae08a9f
- >= 256fa3920874b0f1f4cb79ad6766493a22187153, < dc694a9929f7cb9c88ef91e45eb982b7bbe5a477
Fixed in 9c0a718e24d4cd6d975f3df9740f968f62891a20, 975e0180488966bb709092a52408604bd4f4edd9, 724915535558b14c111ad8a498b896026dfe8d20, 400cd78a63cc647412cf069c9851bdea2818340c, c7b1ef6dc57f4e57fe27cfdd3bf82033ed91ca34, ba1023d3a6d5d244d59f20c4ba6af4879ae08a9f, dc694a9929f7cb9c88ef91e45eb982b7bbe5a477
- 5.5
Fixed in 0, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3
Mitigation
Upgrade Linux to 9c0a718e24d4cd6d975f3df9740f968f62891a20 or 975e0180488966bb709092a52408604bd4f4edd9 or 724915535558b14c111ad8a498b896026dfe8d20 or 400cd78a63cc647412cf069c9851bdea2818340c or c7b1ef6dc57f4e57fe27cfdd3bf82033ed91ca34 or ba1023d3a6d5d244d59f20c4ba6af4879ae08a9f or dc694a9929f7cb9c88ef91e45eb982b7bbe5a477 or later.
Upgrade Linux to 0 or 5.15.222 or 6.1.189 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.