🇰🇷 한글 설명
Linux 커널의 amdgpu 드라이버에서 장치 제거 시 rmmio iounmap 과정이 누락되는 취약점이 발견되었습니다. 장치를 제거하거나 모듈을 언로드할 때 메모리 매핑이 해제되지 않아 리소스 누수가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 제거할 때 사용하던 메모리 통로를 제대로 닫지 않아 메모리가 조금씩 낭비되는 문제입니다. 이 현상이 반복되면 시스템 자원이 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: fix rmmio iounmap skipped on device removal
amdgpu_pci_remove() calls drm_dev_unplug() before fini_sw(), so
drm_dev_enter() is already false there and the iounmap() guarded by it
is skipped. This .remove path runs on both hot-unplug and plain rmmod,
so the register BAR ioremap mapping leaks one instance per unload.
Unmap rmmio unconditionally (guard only on non-NULL) and drop the now
unused idx.
(cherry picked from commit dd6f86a97260e5207d3329ad03aa89fdad61b1e6)
📍 영향받는 시스템
amdgpu 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
로컬 공격자가 장치 제거 또는 드라이버 모듈 언로드를 반복하여 메모리 누수를 유도할 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 릴리스 버전인지 확인하십시오.