В ядре Linux устранена следующая уязвимость: media: verisilicon: rockchip: guard VPU981 AV1 делитель и плиточный буфер rockchip_vpu981_av1_dec_set_tile_info() делит context_update_tile_id на tile_info->tile_cols и записывает один дескриптор на плитку в буфер tile_info DMA, который содержит записи AV1_MAX_TILES; tile_cols и tile_rows приходят из битового потока. Защитите деление от нуля tile_cols, инициализируя значения обновления контекста до нуля и вычисляя их только тогда, когда tile_cols не равен нулю, и остановите дескриптор, когда буфер tile_info будет заполнен. Геометрия плитки, записанная в аппаратные регистры, остается неизменной; границы каждого измерения и общей плитки проверяются контрольной проверкой.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1