🇰🇷 한글 설명
Linux 커널의 AMD DCN30 색상 관리 모듈 내 cm3_helper_translate_curve_to_hw_format 함수에서 인덱스 범위 초과 취약점이 발견되었습니다. 특정 상황에서 인덱스 값이 정의된 전송 함수 포인트 수를 초과하여 버퍼 오버플로우를 유발할 수 있습니다.
💡 쉬운 설명
AMD 그래픽 카드를 사용하는 리눅스 시스템에서 색상을 처리하는 과정 중 데이터 범위를 벗어난 값을 참조하는 오류가 있습니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix index out of bounds in DCN30 color transformation
This commit addresses a potential index out of bounds issue in the
`cm3_helper_translate_curve_to_hw_format` function in the DCN30 color
management module. 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, the function returns
false to indicate an error.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:180 cm3_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:181 cm3_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_cm_common.c:182 cm3_helper_translate_curve_to_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max
📍 영향받는 시스템
DCN30 색상 관리 모듈을 사용하는 AMD GPU 기반 Linux 커널 시스템
⚔️ 공격 벡터
조작된 색상 관리 데이터를 통해 커널 내 버퍼 오버플로우 유도
🛡️ 대응 방법
AMD DCN30 관련 수정 사항이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 최신 패치 버전인지 확인합니다.