🇰🇷 한글 설명
Linux 커널의 AMD 디스플레이 드라이버(DC 모듈) 내 dc_destruct() 정리 함수에서 Null 포인터 역참조 취약점이 발견되었습니다. 메모리 할당 실패로 인해 디스플레이 제어 컨텍스트(dc->ctx)가 NULL인 상태에서 에러 처리가 진행될 경우, perf_trace 멤버에 접근하려다 커널 크래시가 발생할 수 있습니다.
💡 쉬운 설명
AMD 그래픽 카드를 사용하는 컴퓨터에서 메모리가 부족할 때 시스템이 갑자기 멈추거나 꺼질 수 있는 오류입니다. 프로그램이 존재하지 않는 메모리 주소를 참조하려고 시도하면서 발생하는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: fix a Null pointer dereference vulnerability
[Why]
A null pointer dereference vulnerability exists in the AMD display driver's
(DC module) cleanup function dc_destruct().
When display control context (dc->ctx) construction fails
(due to memory allocation failure), this pointer remains NULL.
During subsequent error handling when dc_destruct() is called,
there's no NULL check before dereferencing the perf_trace member
(dc->ctx->perf_trace), causing a kernel null pointer dereference crash.
[How]
Check if dc->ctx is non-NULL before dereferencing.
(Updated commit text and removed unnecessary error message)
(cherry picked from commit 9dd8e2ba268c636c240a918e0a31e6feaee19404)
📍 영향받는 시스템
AMD 디스플레이 드라이버(DC 모듈)를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
메모리 할당 실패를 유도하여 커널 패닉(시스템 중단)을 일으키는 로컬 공격 가능
🛡️ 대응 방법
AMD 디스플레이 드라이버의 Null 체크 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인