Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: media: verisilicon: hantro: bound G2 HEVC tile loop to the buffer capacity prepare_tile_info_buffer() writes one entry per tile into the tile_sizes DMA buffer, sized for a grid equal to the PPS uAPI array capacity. Use the bounded v4l2_hevc_pps_num_tile_columns() / v4l2_hevc_pps_num_tile_rows() helpers so the loops stay inside the buffer.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c before 6d192fc0d6faff25ecf6d52cbde4b939cb12c192; affected cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c before 2887a98c03d97a6fcb6c2dab92956f2f4c402cdd; affected cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c before 62ae24639d22909a5724627a0467e4bde9704020; affected cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c before 4f654c9bc954569ff9b8ab860b29480c4cf6f57b; affected cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c before 05e8e4cdfe692f5cedba9aa9d7b8f2584cf926c8; affected cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c before 06236b094c899c22c12ac5097935eb6719293de8 |
| Linux / Linux | affected 5.14; unaffected 0 before 5.14; unaffected 6.1.189 through 6.1.*; 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/6d192fc0d6faff25ecf6d52cbde4b939cb12c192
- https://git.kernel.org/stable/c/2887a98c03d97a6fcb6c2dab92956f2f4c402cdd
- https://git.kernel.org/stable/c/62ae24639d22909a5724627a0467e4bde9704020
- https://git.kernel.org/stable/c/4f654c9bc954569ff9b8ab860b29480c4cf6f57b
- https://git.kernel.org/stable/c/05e8e4cdfe692f5cedba9aa9d7b8f2584cf926c8
- https://git.kernel.org/stable/c/06236b094c899c22c12ac5097935eb6719293de8