🇰🇷 한글 설명
Linux 커널의 drm/xe 드라이버에서 절전 모드 진입 시 실행 큐의 스케줄링 토글을 건너뛰는 최적화 오류로 인해 발생합니다. 이로 인해 GPU가 TLB 엔트리를 플러시하지 않아 유효하지 않은 사용자 포인터 VMA에 대한 TLB 무효화가 누락될 수 있습니다.
💡 쉬운 설명
컴퓨터가 잠자기 모드로 들어갈 때 그래픽 카드가 해야 할 정리 작업을 건너뛰어 발생하는 문제입니다. 이로 인해 메모리 관리 정보가 제대로 업데이트되지 않아 시스템 오류나 데이터 충돌이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Revert "drm/xe: Skip exec queue schedule toggle if queue is idle during suspend"
This reverts commit 8533051ce92015e9cc6f75e0d52119b9d91610b6.
The idle-skip optimization bypasses GuC suspend, so the GPU may not
perform the context switch that flushes TLB entries for invalidated
userptr VMAs. In LR/preempt-fence VM mode, this can lead to missed TLB
invalidation and page faults during userptr invalidation tests.
Restore unconditional schedule toggling on suspend so the context-switch
TLB flush is always performed.
This optimization will be reintroduced with a fix that does not skip
suspend in LR/preempt-fence VM mode.
(cherry picked from commit 6a1e7934d9a6cf46aecae00a99c2603d1295e170)
📍 영향받는 시스템
Linux kernel (drm/xe driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 메모리 관리 상황을 유도하여 잘못된 TLB 정보를 이용한 메모리 접근 시도
🛡️ 대응 방법
해당 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인