🇰🇷 한글 설명
Linux 커널의 drm/xe 드라이버에서 스크래치 모드가 활성화된 가상 머신(VM)이 페이지 폴트(page fault)를 처리하지 못함에도 불구하고 이를 허용하는 취약점이 발견되었습니다. 이로 인해 유효한 VMA에서 폴트가 발생할 경우 핸들러가 오류를 수정하지 않고 성공을 보고하여 GPU가 무한 재시도를 반복하게 됩니다.
💡 쉬운 설명
특정 가상 머신이 그래픽 카드(GPU)에 잘못된 요청을 보냈을 때, 시스템이 이를 제대로 처리하지 못하고 무한 루프에 빠지는 문제입니다. 이로 인해 시스템 성능이 저하되거나 GPU가 멈추는 현상이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Reject page faults from non-fault-mode scratch VMs
Having scratch enabled does not make a VM capable of handling recoverable
page faults. Allowing scratch VMs through the ASID lookup also admits
dma-fence mode VMs.
If such a VM faults on an already valid VMA, the handler reports success
without fixing the fault, causing the GPU to retry indefinitely.
Only allow fault-mode VMs through the ASID lookup. Fault-mode VMs using
scratch remain supported, while faults from 3D VMs are rejected.
(cherry picked from commit bfb24a06405b652d37831f3fb66b71d33a6605de)
📍 영향받는 시스템
Linux kernel (drm/xe driver 포함 버전)
⚔️ 공격 벡터
비정상적인 페이지 폴트를 유발하는 스크래치 모드 가상 머신을 통한 로컬 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.