🇰🇷 한글 설명
리눅스 커널의 drm/msm/dpu 구성 요소에서 vblank IRQ를 제어할 때 뮤텍스 잠금(mutex lock)이 누락되어 발생한 취약점입니다. 서로 다른 스레드에서 vblank 활성화/비활성화 작업이 동시에 수행될 경우 레이스 컨디션(경쟁 상태)이 발생할 수 있습니다.
💡 쉬운 설명
여러 작업이 동시에 화면 재생 빈도(vblank)를 조절하려고 할 때 충돌이 발생하는 문제입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dpu: Add mutex lock in control vblank irq
Add a mutex lock to control vblank irq to synchronize vblank
enable/disable operations happening from different threads to prevent
race conditions while registering/unregistering the vblank irq callback.
v4: -Removed vblank_ctl_lock from dpu_encoder_virt, so it is only a
parameter of dpu_encoder_phys.
-Switch from atomic refcnt to a simple int counter as mutex has
now been added
v3: Mistakenly did not change wording in last version. It is done now.
v2: Slightly changed wording of commit message
Patchwork: https://patchwork.freedesktop.org/patch/571854/
📍 영향받는 시스템
Linux Kernel (MSM DPU 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
서로 다른 스레드에서 vblank IRQ 콜백을 등록하거나 해제하는 작업을 동시에 수행하여 레이스 컨디션 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 뮤텍스 잠금이 포함된 패치를 적용해야 합니다.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.