🇰🇷 한글 설명
Linux 커널의 dma-fence 구성 요소에서 발생하던 null 포인터 역참조 취약점이 해결되었습니다. fence->ops 포인터가 초기화된 후 tracepoint가 이를 참조할 때 시스템 충돌이 발생할 수 있는 문제가 수정되었습니다.
💡 쉬운 설명
컴퓨터의 데이터 전송을 관리하는 과정에서, 이미 사라진 정보를 참조하려고 시도하여 시스템이 멈추거나 오류가 발생할 수 있는 결함입니다. 이번 업데이트를 통해 데이터가 사라지기 전에 안전하게 정보를 확인하도록 개선되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dma-fence: Fix potential tracepoint null pointer dereferences
Trace_dma_fence_signaled, trace_dma_fence_wait_end and
trace_dma_fence_destroy can all currently dereference a null fence->ops
pointer after it has been reset on fence signalling.
Lets use the safe string getters for most tracepoints to avoid this class
of a problem, while for the signal tracepoint we move it to before ops are
cleared to avoid losing the driver and timeline name information. Apart
from moving it we also need to add a new tracepoint class to bypass the
safe name getters since the signaled bit is already set.
For dma_fence_init we also need to use the new tracepoint class since the
rcu read lock is not held there, and we can do the same for the enable
signaling since there we are certain the fence cannot be signaled while
we are holding the lock and have even validated the fence->ops.
📍 영향받는 시스템
dma-fence 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특정 DMA 작업 흐름을 유도하여 커널 패닉(Null Pointer Dereference)을 유발할 수 있음
🛡️ 대응 방법
dma-fence 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인