🇰🇷 한글 설명
Linux 커널의 amdgpu 디스플레이 드라이버에서 plane 리셋 함수 호출 시 dangling pointer(허상 포인터)가 발생하는 취약점입니다. 새로운 상태를 할당하기 전에 기존 상태를 먼저 해제하여, 메모리 할당 실패 시 해제된 메모리를 가리키는 포인터가 남게 됩니다.
💡 쉬운 설명
컴퓨터 화면을 제어하는 프로그램에서 메모리 관리 실수로 인해 이미 삭제된 데이터 주소를 계속 붙잡고 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix dangling pointer in plane reset function
amdgpu_dm_plane_drm_plane_reset() frees the old state before allocating
a new one. If kzalloc() fails, the function returns without updating
the state pointer, leaving a dangling pointer to already freed memory.
Fix this by allocating the new state first. On allocation failure, the
old state remains untouched and the function safely returns.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[adjust for movement around current amd-staging-drm-next]
📍 영향받는 시스템
Linux kernel (drm/amd/display 관련 amdgpu 드라이버 사용 시스템)
⚔️ 공격 벡터
메모리 할당 실패를 유도하여 시스템의 메모리 오염 또는 커널 패닉을 일으키는 로컬 공격
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인