🇰🇷 한글 설명
Linux 커널의 panfrost DRM 드라이버 내 panfrost_mmu_map_fault_addr() 함수에서 오류 처리 경로의 결함이 발견되었습니다. 페이지 할당 실패 시 참조 카운트를 잘못 해제하여 get/put_pages() 호출의 불균형을 초래하는 문제가 해결되었습니다.
💡 쉬운 설명
컴퓨터의 그래픽 처리 장치(GPU)를 관리하는 소프트웨어에서 메모리 관리 규칙을 어기는 오류가 있었습니다. 이 오류로 인해 시스템이 불안정해지거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()
Subject: [PATCH] drm/panfrost: Fix the error path in
panfrost_mmu_map_fault_addr()
If some the pages or sgt allocation failed, we shouldn't release the
pages ref we got earlier, otherwise we will end up with unbalanced
get/put_pages() calls. We should instead leave everything in place
and let the BO release function deal with extra cleanup when the object
is destroyed, or let the fault handler try again next time it's called.
📍 영향받는 시스템
Linux kernel (panfrost DRM driver 사용 시스템)
⚔️ 공격 벡터
메모리 할당 실패를 유도하여 참조 카운트 불균형을 일으키는 로컬 공격
🛡️ 대응 방법
panfrost 드라이버의 오류 처리 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 패치가 적용된 최신 버전인지 확인합니다.