🇰🇷 한글 설명
Linux 커널의 accel/habanalabs 드라이버에서 IOMMU가 활성화된 경우, vmalloc 기반의 일관된 메모리를 매핑할 때 VM_MIXEDMAP 설정이 누락되어 커널 충돌(BUG_ON)이 발생할 수 있는 취약점입니다. 이 문제는 vmalloc 주소 여부를 확인하고 VMA에 VM_MIXEDMAP를 설정함으로써 해결되었습니다.
💡 쉬운 설명
특정 하드웨어 드라이버가 메모리를 사용하는 과정에서 운영체제의 규칙을 어겨 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 메모리 관리 방식에 작은 오류가 있어 이를 수정하는 패치가 필요합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
accel/habanalabs: support mapping cb with vmalloc-backed coherent memory
When IOMMU is enabled, dma_alloc_coherent() with GFP_USER may return
addresses from the vmalloc range. If such an address is mapped without
VM_MIXEDMAP, vm_insert_page() will trigger a BUG_ON due to the
VM_PFNMAP restriction.
Fix this by checking for vmalloc addresses and setting VM_MIXEDMAP
in the VMA before mapping. This ensures safe mapping and avoids kernel
crashes. The memory is still driver-allocated and cannot be accessed
directly by userspace.
📍 영향받는 시스템
Linux kernel (accel/habanalabs 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
직접적인 원격 공격은 어려우나, 특정 하드웨어 동작을 유도하여 커널 패닉(시스템 중단)을 일으킬 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.