🇰🇷 한글 설명
Linux 커널의 media rkvdec 드라이버에서 HEVC 타일 루프 및 PPS ID가 배열 용량을 초과할 수 있는 취약점이 발견되었습니다. 신뢰할 수 없는 PPS 데이터를 기반으로 루프를 수행하거나 배열 인덱스에 접근할 때 경계 검사가 누락되어 발생합니다.
💡 쉬운 설명
악의적으로 조작된 동영상 파일을 재생할 때, 컴퓨터의 메모리 범위를 벗어나 데이터를 쓰는 문제가 발생할 수 있습니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: rkvdec: bound HEVC tile loops and PPS id to the array capacity
compute_tiles_uniform() and compute_tiles_non_uniform() loop over
num_tile_columns_minus1 + 1 / num_tile_rows_minus1 + 1 entries, and
assemble_hw_pps() writes one COLUMN_WIDTH / ROW_HEIGHT register per tile
and indexes priv_tbl->param_set[] by pic_parameter_set_id, all taken from
the untrusted PPS. Use the bounded v4l2_hevc_pps_num_tile_columns() /
v4l2_hevc_pps_num_tile_rows() helpers for the tile loops, and bail out of
assemble_hw_pps() before indexing priv_tbl->param_set[] with an
out-of-range pic_parameter_set_id, so the writes stay within the hardware
tables.
📍 영향받는 시스템
Linux kernel (media: rkvdec driver components)
⚔️ 공격 벡터
조작된 HEVC 비디오 스트림/파일을 통한 원격 또는 로컬 공격
🛡️ 대응 방법
v4l2_hevc_pps_num_tile_columns/rows 헬퍼 함수를 사용하고 PPS ID 범위를 검증하도록 커널을 업데이트하십시오.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 패치된 최신 버전인지 확인하십시오.