🇰🇷 한글 설명
Linux 커널의 amdgpu 드라이버에서 장치 리셋 시 KIQ 링 펜스가 강제로 완료되지 않는 취약점이 해결되었습니다. 이로 인해 리셋 후 첫 번째 KIQ 제출 작업이 업데이트되지 않는 시퀀스 번호를 계속 기다리며 무한 루프에 빠질 수 있습니다.
💡 쉬운 설명
그래픽 카드를 초기화할 때 특정 작업이 완료되었는지 확인하는 과정에서 오류가 발생하여 시스템이 멈출 수 있는 문제입니다. 이번 패치를 통해 리셋 후에도 작업 상태가 올바르게 동기화되도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: force complete the KIQ ring fences on reset
Like the MES scheduler ring, the KIQ ring sets no_scheduler = true and uses a
polling fence, so it is skipped by the force-completion loop in
amdgpu_device_pre_asic_reset(). Its hw fence value lives in wb (GTT) memory and
survives a MODE1 reset while fence_drv.sync_seq keeps advancing, so after a
reset the first KIQ submission can poll forever on a seq that is never written
back.
Force complete the KIQ ring fences too so their hw fence is realigned to
sync_seq.
📍 영향받는 시스템
KIQ 링 펜스 처리가 누락된 이전 버전의 Linux 커널 (amdgpu 드라이버 포함)
⚔️ 공격 벡터
로컬 시스템에서 그래픽 드라이버 리셋을 유도하여 시스템 무한 루프(Hang) 발생 가능
🛡️ 대응 방법
KIQ 링 펜스 강제 완료 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.