🇰🇷 한글 설명
Linux 커널의 amd/display 드라이버 내 dcn32_acquire_idle_pipe_for_head_pipe_in_layer 함수에서 null 포인터 역참조 취약점이 발견되었습니다. head_pipe가 null인 경우에 대한 검증이 누락되어 시스템 불안정이나 충돌을 유발할 수 있습니다.
💡 쉬운 설명
그래픽 카드 드라이버가 존재하지 않는 데이터(null)를 참조하려고 시도할 때 발생하는 오류입니다. 이로 인해 컴퓨터 화면이 멈추거나 시스템이 갑자기 꺼질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add null check for head_pipe in dcn32_acquire_idle_pipe_for_head_pipe_in_layer
This commit addresses a potential null pointer dereference issue in the
`dcn32_acquire_idle_pipe_for_head_pipe_in_layer` function. The issue
could occur when `head_pipe` is null.
The fix adds a check to ensure `head_pipe` is not null before asserting
it. If `head_pipe` is null, the function returns NULL to prevent a
potential null pointer dereference.
Reported by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn32/dcn32_resource.c:2690 dcn32_acquire_idle_pipe_for_head_pipe_in_layer() error: we previously assumed 'head_pipe' could be null (see line 2681)
📍 영향받는 시스템
AMD GPU를 사용하는 Linux 커널 시스템 (DCN32 관련 드라이버 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 특정 그래픽 리소스 요청을 통해 커널 패닉을 유도하는 방식
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트하거나 amdgpu 드라이버를 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.