🇰🇷 한글 설명
Linux 커널의 drm/radeon 드라이버에서 펜스(fence) 신호 상태를 확인하는 과정 중 데드락(교착 상태)이 발생할 수 있는 취약점이 발견되었습니다. 펜스 잠금과 대기 큐 잠금이 동일하게 작동하면서 발생하는 자기 교착 상태를 방지하기 위해 관련 로직이 수정되었습니다.
💡 쉬운 설명
컴퓨터 그래픽 카드가 작업을 처리하는 과정에서 서로 자원을 기다리며 멈춰버리는 현상이 발생할 수 있습니다. 이 문제를 해결하기 위해 불필요하게 자원을 점유하던 코드를 제거하여 시스템 멈춤을 방지했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/radeon: delete radeon_fence_process in is_signaled, no deadlock
Delete the attempt to progress the queue when checking if fence is
signaled. This avoids deadlock.
dma-fence_ops::signaled can be called with the fence lock in unknown
state. For radeon, the fence lock is also the wait queue lock. This can
cause a self deadlock when signaled() tries to make forward progress on
the wait queue. But advancing the queue is unneeded because incorrectly
returning false from signaled() is perfectly acceptable.
(cherry picked from commit 527ba26e50ec2ca2be9c7c82f3ad42998a75d0db)
📍 영향받는 시스템
Linux kernel (drm/radeon 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 시스템에서 특정 그래픽 작업 수행 시 발생 가능한 데드락 유발
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인