🔍 CVE-2024-49919

5.5
CVSS Score
MEDIUM
2024-10-21
2026-10-30 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 AMD 디스플레이 드라이버(drm/amd/display)에서 dcn201_acquire_free_pipe_for_layer 함수의 head_pipe 포인터에 대한 null 검사가 누락되어 있었습니다. 수정에서는 head_pipe가 null이면 NULL을 반환하도록 검사를 추가하여 잠재적인 null 포인터 역참조를 방지합니다.

💡 쉬운 설명

그래픽 드라이버 코드에서 특정 값이 비어 있을 때를 확인하지 않아 시스템이 불안정해질 수 있는 문제입니다. 패치 적용으로 비어 있는 경우를 안전하게 처리하도록 개선되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null check for head_pipe in dcn201_acquire_free_pipe_for_layer This commit addresses a potential null pointer dereference issue in the `dcn201_acquire_free_pipe_for_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/dcn201/dcn201_resource.c:1016 dcn201_acquire_free_pipe_for_layer() error: we previously assumed 'head_pipe' could be null (see line 1010)

📍 영향받는 시스템

AMD 그래픽 카드를 사용하는 DCN201 기반 디스플레이 드라이버가 포함된 Linux 커널 버전 (수정 커널 적용 필요)

⚔️ 공격 벡터

로컬 사용자가 디스플레이 관련 동작을 유도하여 null 포인터 역참조로 인한 커널 크래시(서비스 거부)를 일으킬 수 있음

🛡️ 대응 방법

Linux 커널을 해당 CVE 수정이 포함된 최신 안정 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 CVE 수정이 포함된 패치 버전 이상인지 배포판 보안 공지와 비교하고, amdgpu 모듈이 로드되어 있다면 해당 취약 경로가 존재할 수 있음을 의미합니다

Shell / Script
uname -r && grep -i 'amdgpu' /proc/modules | head -1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel