🇰🇷 한글 설명
Linux 커널의 drm/panthor 드라이버에서 발생한 Use-After-Free(UAF) 취약점입니다. MMU가 작동하지 않을 때 panthor_vm_unmap_range() 함수가 오류를 반환하더라도 va_node가 drm_mm에 그대로 남아 있어, 인접한 노드 삭제 시 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
그래픽 카드 관련 소프트웨어에서 메모리 관리 오류가 발생하여, 이미 사용이 끝난 메모리 영역에 잘못 접근할 수 있는 문제입니다. 이로 인해 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: Fix UAF on kernel BO VA nodes
If the MMU is down, panthor_vm_unmap_range() might return an error.
We expect the page table to be updated still, and if the MMU is blocked,
the rest of the GPU should be blocked too, so no risk of accessing
physical memory returned to the system (which the current code doesn't
cover for anyway).
Proceed with the rest of the cleanup instead of bailing out and leaving
the va_node inserted in the drm_mm, which leads to UAF when other
adjacent nodes are removed from the drm_mm tree.
📍 영향받는 시스템
Linux kernel (drm/panthor 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
특정 그래픽 작업 중 MMU 오류를 유도하여 메모리 해제 후 재사용 시점에 공격 수행
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.