🇰🇷 한글 설명
Linux 커널의 arm64 아키텍처에서 하이버네이션(최대 절전 모드) 복구 시 HVC_SET_VECTORS 인자가 제대로 전달되지 않는 취약점이 발견되었습니다. 이로 인해 EL2(Exception Level 2)가 해제된 메모리 주소를 가리키게 되어 시스템이 멈추는 현상이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 잠자기 모드에서 깨어날 때, 시스템의 핵심 제어 장치가 잘못된 메모리 위치를 참조하여 컴퓨터가 멈춰버리는 문제입니다. 이는 특정 설정이 켜져 있을 때 시스템 안정성을 해칠 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
arm64: hibernate: pass HVC_SET_VECTORS args to the resume hvc
swsusp_arch_suspend_exit() reinstalls the restored kernel's hyp stub
vectors with an hvc, but never passes the arguments. x0 is not set to
HVC_SET_VECTORS and x1 is not set to the vector address, so the stub
dispatch falls through and returns without writing vbar_el2. EL2 is
left pointing at the trans_pgd copy of the vectors, a page that
swsusp_free() releases right after resume.
Set the arguments up the same way __hyp_set_vectors() does.
Without this fix, Vladimir was able to trigger a hang when resuming from
hibernation with CONFIG_PAGE_POISONING=y and page_poison=on.
📍 영향받는 시스템
arm64 아키텍처를 사용하는 Linux 커널 (CONFIG_PAGE_POISONING=y 및 page_poison=on 설정 시 영향)
⚔️ 공격 벡터
직접적인 원격 공격보다는 특정 커널 설정 환경에서 하이버네이션 복구 과정을 통해 시스템 중단(Hang) 유발
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
커널 버전과 함께 PAGE_POISONING 설정이 활성화되어 있는지 확인하여 취약한 환경인지 판단합니다.
uname -a && grep -E 'CONFIG_PAGE_POISONING|CONFIG_PAGE_POISON' /boot/config-$(uname -r)