🇰🇷 한글 설명
Linux 커널의 drm/amdkfd 구성 요소에서 userptr 언매핑 시 kfd 프로세스 참조 횟수가 누수되는 취약점이 발견되었습니다. kfd_lookup_process_by_pid 함수를 인자로 호출할 때 참조 횟수가 제대로 해제되지 않으며, 프로세스가 이미 파괴된 경우 NULL 포인터 체크를 누락하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 특정 메모리 관리 과정 중 데이터가 제대로 정리되지 않고 쌓이는 문제가 있습니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Fix kfd process ref leaking when userptr unmapping
kfd_lookup_process_by_pid hold the kfd process reference to ensure it
doesn't get destroyed while sending the segfault event to user space.
Calling kfd_lookup_process_by_pid as function parameter leaks the kfd
process refcount and miss the NULL pointer check if app process is
already destroyed.
📍 영향받는 시스템
AMD GPU 드라이버(amdkfd)를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 사용자가 특수하게 조작된 메모리 언매핑 요청을 통해 참조 횟수 누수 및 커널 오류 유발
🛡️ 대응 방법
AMD amdkfd 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인