🇰🇷 한글 설명
리눅스 커널의 AMD 디스플레이 드라이버 내 색상 변환 함수에서 인덱스 범위 초과 취약점이 발견되었습니다. 특정 상황에서 인덱스 값이 허용된 범위를 벗어나 메모리에 잘못된 접근을 할 수 있는 버퍼 오버플로우 문제가 존재합니다.
💡 쉬운 설명
그래픽 카드가 화면 색상을 조절할 때 사용하는 데이터 목록의 범위를 벗어난 곳을 건드리는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix potential index out of bounds in color transformation function
Fixes index out of bounds issue in the color transformation function.
The issue could occur when the index 'i' exceeds the number of transfer
function points (TRANSFER_FUNC_POINTS).
The fix adds a check to ensure 'i' is within bounds before accessing the
transfer function points. If 'i' is out of bounds, an error message is
logged and the function returns false to indicate an error.
Reported by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:405 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:406 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:407 cm_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max
📍 영향받는 시스템
AMD GPU를 사용하는 리눅스 커널 기반 시스템 (DCN10 아키텍처 관련 드라이버)
⚔️ 공격 벡터
조작된 색상 변환 데이터를 디스플레이 드라이버로 전달하여 메모리 오버플로우 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전 이상인지 확인합니다.