🇰🇷 한글 설명
Linux 커널의 host1x GPU 드라이버에서 host1x_bo_clear_cached_mappings 함수 호출 시 Use-After-Free 취약점이 발견되었습니다. __host1x_bo_unpin() 함수가 매핑의 마지막 참조를 해제하여 메모리를 해제한 후, 해당 매핑을 다시 참조하려고 시도할 때 문제가 발생합니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 지워버린 메모리 공간을 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
gpu: host1x: Fix use-after-free in host1x_bo_clear_cached_mappings
__host1x_bo_unpin() drops the last reference to the mapping and frees
it, so we can't dereference mapping afterwards. The cache itself
outlives the mapping, so use the cache local variable instead.
📍 영향받는 시스템
Linux kernel (host1x GPU driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특수하게 조작된 GPU 메모리 매핑 요청을 통해 발생 가능
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인