Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: media: verisilicon: rockchip: guard VPU981 AV1 divisor and tile buffer rockchip_vpu981_av1_dec_set_tile_info() divides context_update_tile_id by tile_info->tile_cols and writes one descriptor per tile into the tile_info DMA buffer, which holds AV1_MAX_TILES entries; tile_cols and tile_rows come from the bitstream. Guard the division against a zero tile_cols by initialising the context-update values to zero and computing them only when tile_cols is non-zero, and stop the descriptor writes once the tile_info buffer is full. The tile geometry written to the hardware registers is left unmodified; the per-dimension and total tile bounds are enforced by the control validation.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 727a400686a2c0d25015c9e44916a59b72882f83 before 8659e5fc21a82e00fb2db1557f2e06f0fca06b90; affected 727a400686a2c0d25015c9e44916a59b72882f83 before 7baa7bb1b784c19170df8c99466fa412040eb431; affected 727a400686a2c0d25015c9e44916a59b72882f83 before 8f19d869a9f6800547c9ad7ebaf3b94f973dab50; affected 727a400686a2c0d25015c9e44916a59b72882f83 before 6b7a281a815ae7c5e7bb2aad039ffea9bc933157; affected 727a400686a2c0d25015c9e44916a59b72882f83 before b84f6533a8ed2fd7b282fc7ab4b8efadc745a89c |
| Linux / Linux | affected 6.5; unaffected 0 before 6.5; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/8659e5fc21a82e00fb2db1557f2e06f0fca06b90
- https://git.kernel.org/stable/c/7baa7bb1b784c19170df8c99466fa412040eb431
- https://git.kernel.org/stable/c/8f19d869a9f6800547c9ad7ebaf3b94f973dab50
- https://git.kernel.org/stable/c/6b7a281a815ae7c5e7bb2aad039ffea9bc933157
- https://git.kernel.org/stable/c/b84f6533a8ed2fd7b282fc7ab4b8efadc745a89c