🇰🇷 한글 설명
Linux 커널의 drm/xe 드라이버에서 xe_migrate_clear 함수 호출 시 오류 경로 처리 과정에서 발생하는 취약점입니다. 로컬 펜스 대신 공유 펜스를 기다리는 과정에서 레이스 컨디션이 발생하여 Use-After-Free(UAF) 취약점으로 이어질 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 처리 장치(GPU)를 관리하는 프로그램에서 메모리를 정리할 때, 이미 사용이 끝난 메모리 영역을 잘못 참조할 수 있는 오류가 발견되었습니다. 이로 인해 시스템이 멈추거나 보안 공격에 노출될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Use local fence in error path of xe_migrate_clear
The intent of the error path in xe_migrate_clear is to wait on locally
generated fence and then return. The code is waiting on m->fence which
could be the local fence but this is only stable under the job mutex
leading to a possible UAF. Fix code to wait on local fence.
(cherry picked from commit 762b7e95362170b3e13a8704f38d5e47eca4ba74)
📍 영향받는 시스템
Linux kernel (drm/xe 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
특정 조건에서 GPU 작업 및 메모리 마이그레이션을 유도하여 Use-After-Free를 유발하는 로컬 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.