🇰🇷 한글 설명
Linux 커널의 AMD drm 드라이버에서 장치 정리 중 지원되지 않는 하드웨어의 NULL 버전 포인터로 인한 NULL 포인터 역참조 취약점입니다. 적절한 NULL 체크 부재로 인해 커널 패닉이 발생할 수 있습니다.
💡 쉬운 설명
AMD 그래픽 카드가 있는 일부 리눅스 시스템에서 재부팅이나 장치 정리 시 커널이 존재하지 않는 메모리에 접근하려고 해서 시스템이 다운될 수 있습니다. 특정 하드웨어 모델에서만 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd: Fix a few more NULL pointer dereference in device cleanup
I found a few more paths that cleanup fails due to a NULL version pointer
on unsupported hardware.
Add NULL checks as applicable.
(cherry picked from commit f5a05f8414fc10f307eb965f303580c7778f8dd2)
📍 영향받는 시스템
Linux kernel - AMD drm 드라이버 사용하는 시스템 (지원되지 않는 AMD GPU)
⚔️ 공격 벡터
로컬 - 장치 재부팅, 모듈 언로드, 장치 정리 시 트리거
🛡️ 대응 방법
Linux 커널 업데이트 (commit f5a05f8414fc10f307eb965f303580c7778f8dd2 이후 버전 적용)
🔧 검증 코드
AMD GPU 드라이버 존재 여부와 현재 커널 버전을 확인합니다. AMD 드라이버가 있으면 커널 업데이트 필요 여부를 확인하세요.
grep -r 'amdgpu\|radeon' /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/ 2>/dev/null | head -1 && uname -r