🇰🇷 한글 설명
Linux 커널의 drm/amdkfd 구성 요소에서 CRAT 파서가 서브타입 길이를 적절히 검증하지 않아 발생하는 취약점입니다. 조작된 CRAT 테이블을 통해 잘못된 길이 값이 전달될 경우, kfd_parse_subtype() 함수에서 경계 외 읽기(Out-of-bounds read)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 관련 데이터를 처리할 때, 데이터의 실제 크기보다 더 큰 크기라고 속여서 정보를 읽게 만드는 오류입니다. 이로 인해 시스템의 민감한 정보가 유출되거나 프로그램이 비정상적으로 종료될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Add bounds check for CRAT subtype length
The CRAT parser validates that the subtype header fits within the image,
but does not verify that the advertised subtype length fits. A malformed
CRAT table with an oversized length field causes out-of-bounds reads when
kfd_parse_subtype() casts the header to specific subtype structures.
Add validation that sub_type_hdr + length does not exceed the image
boundary before parsing the subtype contents.
(cherry picked from commit 48e1d1e6e8798aef0312e68d8e586021b5b3cf4d)
📍 영향받는 시스템
Linux Kernel (drm/amdkfd 모듈을 사용하는 시스템)
⚔️ 공격 벡터
조작된 CRAT(Command Rate Address Table) 테이블을 전달하여 메모리 경계 외 읽기 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전 이상인지 확인합니다.