🇰🇷 한글 설명
리눅스 커널의 drm/amdkfd 구성 요소에서 메모리 해제 시 잘못된 포인터를 참조하는 취약점이 발견되었습니다. amdgpu_bo_unref 호출 시 로컬 변수만 초기화되고 원래 포인터가 NULL로 설정되지 않아 Use-After-Free(UAF) 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 사용이 끝난 메모리 주소를 제대로 지우지 않아, 나중에 이미 삭제된 메모리에 다시 접근하려고 시도할 때 발생하는 보안 결함입니다. 이로 인해 시스템이 충돌하거나 해커가 악성 코드를 실행할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
Pass pointer reference to amdgpu_bo_unref to clear the correct pointer,
otherwise amdgpu_bo_unref clear the local variable, the original pointer
not set to NULL, this could cause use-after-free bug.
📍 영향받는 시스템
AMD GPU 드라이버를 사용하는 Linux Kernel (amdkfd 모듈 포함 버전)
⚔️ 공격 벡터
메모리 관리 로직의 허점을 이용한 Use-After-Free 공격
🛡️ 대응 방법
amdkfd 관련 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인