🇰🇷 한글 설명
Linux 커널의 drm/amdkfd 구성 요소에서 allocate_doorbell 함수가 특정 doorbell ID 값에 대해 경계 검사를 수행하지 않는 취약점이 발견되었습니다. 이로 인해 CRIU 사용 시 설정된 값이 KFD_MAX_NUM_OF_QUEUES_PER_PROCESS 범위를 초과할 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 처리 장치(GPU)를 관리하는 프로그램에서 숫자의 범위를 제대로 확인하지 않는 오류가 있었습니다. 이로 인해 잘못된 숫자를 입력하면 시스템이 오작동하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Check bounds on allocate_doorbell
allocated_doorbell has an option to set the doorbell id
to a specific value (used by CRIU). This value was not
bounds checked.
Check to confirm it's less than KFD_MAX_NUM_OF_QUEUES_PER_PROCESS.
📍 영향받는 시스템
Linux Kernel (amdkfd 드라이버 포함 버전)
⚔️ 공격 벡터
CRIU를 사용하여 특정 doorbell ID를 설정할 때 경계를 벗어난 값을 입력하여 메모리 오염 유도
🛡️ 대응 방법
amdkfd의 allocate_doorbell 함수에 경계 검사 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인