🇰🇷 한글 설명
Linux 커널의 AMD 디스플레이 드라이버(drm/amd/display)에서 dcn20_program_pipe 함수가 pipe_ctx->plane_state가 NULL일 수 있음에도 이를 검사하지 않고 접근하여 NULL 포인터 역참조가 발생할 수 있는 문제입니다. 패치는 접근 전에 NULL 검사를 추가하여 이를 방지합니다.
💡 쉬운 설명
그래픽 카드 드라이버가 비어 있는 화면 정보를 확인하지 않고 사용하다가 시스템이 비정상 종료될 수 있는 결함입니다. 수정 패치로 빈 정보를 미리 검사하여 이 오류를 막습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe
This commit addresses a null pointer dereference issue in the
`dcn20_program_pipe` function. The issue could occur when
`pipe_ctx->plane_state` is null.
The fix adds a check to ensure `pipe_ctx->plane_state` is not null
before accessing. This prevents a null pointer dereference.
Reported by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn20/dcn20_hwseq.c:1925 dcn20_program_pipe() error: we previously assumed 'pipe_ctx->plane_state' could be null (see line 1877)
📍 영향받는 시스템
AMD 그래픽을 사용하는 DCN 2.0 계열 GPU가 탑재된 Linux 커널 (패치 적용 이전 버전)
⚔️ 공격 벡터
로컬 사용자가 특정 디스플레이 상태를 유발하여 커널 패닉 또는 서비스 거부(DoS)를 일으킬 수 있으며, 권한 상승 가능성은 명확하지 않습니다.
🛡️ 대응 방법
배포판 벤더가 제공하는 최신 커널로 업데이트하거나 해당 NULL 검사 패치를 적용하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 CVE 수정이 포함된 배포판 보안 업데이트 버전 이상인지 벤더 보안 공지와 비교하여 확인합니다.