🇰🇷 한글 설명
Linux 커널의 drm/v3d 드라이버에서 v3d_fence_create() 함수 호출이 실패할 경우, queue->active_job를 초기화하지 않아 댕글링 포인터(dangling pointer)가 발생하는 취약점입니다. 이로 인해 잘못된 메모리 참조가 발생할 수 있으며, 이를 해결하기 위해 작업 실패 시 active_job을 명시적으로 해제하도록 수정되었습니다.
💡 쉬운 설명
그래픽 처리 작업 중 오류가 발생했을 때, 시스템이 사용 중인 작업 정보를 제대로 지우지 않아 발생하는 문제입니다. 이로 인해 컴퓨터가 엉뚱한 메모리 주소를 참조하여 시스템이 불안정해지거나 오류가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Clear queue->active_job when v3d_fence_create() fails
The run_job() callbacks for BIN, RENDER, TFU and CSD assign the incoming
job to queue->active_job before calling v3d_fence_create(). If
v3d_fence_create() fails, the callback returns NULL without clearing
active_job, leaving a dangling pointer.
Create a failure path in all run_job() callbacks that clears the active
job before returning NULL. The BIN path takes queue->queue_lock around the
clear as it races against v3d_overflow_mem_work(); RENDER, TFU and CSD
paths have no concurrent reader, so the clear is lock-free.
📍 영향받는 시스템
Linux kernel (drm/v3d driver components)
⚔️ 공격 벡터
로컬 권한을 가진 공격자가 특정 그래픽 작업(BIN, RENDER, TFU, CSD)을 유도하여 메모리 오류를 발생시킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인