🇰🇷 한글 설명
Linux 커널의 drm/vc4 드라이버에서 타이머 종료 과정 중 레이스 컨디션이 발생할 수 있는 취약점이 발견되었습니다. 기존 방식은 타이머를 삭제한 후 작업을 취소했으나, 작업이 다시 타이머를 재설정할 수 있어 종료 후에도 작업이 반복되는 문제가 있었습니다. 이를 해결하기 위해 timer_shutdown_sync()를 사용하여 타이머가 재설정되지 않도록 보장합니다.
💡 쉬운 설명
컴퓨터 부품을 정리하는 과정에서 청소 도구가 계속해서 다시 작동하도록 설정되어 시스템이 멈추거나 오류가 날 수 있는 문제입니다. 이제는 청소가 완전히 끝날 때까지 도구가 다시 켜지지 않도록 안전하게 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/vc4: Shut down BO cache timer before teardown
The BO cache timer callback schedules time_work, and time_work can rearm
the timer through vc4_bo_cache_free_old().
vc4_bo_cache_destroy() deletes the timer and then cancels the work, which
does not break that cycle: the work being cancelled can rearm the timer,
and the timer then queues work again after teardown.
Use timer_shutdown_sync() instead, so the timer cannot be rearmed and the
cycle ends with cancel_work_sync().
📍 영향받는 시스템
Linux kernel (drm/vc4 driver components)
⚔️ 공격 벡터
로컬 시스템에서 특정 드라이버 자원을 해제하는 과정에서 트리거 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인