🇰🇷 한글 설명
Linux 커널의 KVM arm64 환경에서 user_mem_abort() 함수 내 memcache 포인터가 초기화되지 않는 취약점이 발견되었습니다. 특정 경로에서 stage-2 할당이 필요할 때 초기화되지 않은 메모리 포인터를 참조하여 시스템 오류나 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터의 가상화 기술을 관리하는 핵심 부품에서 데이터 주소를 제대로 설정하지 않는 실수가 있었습니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()
Commit fce886a60207 ("KVM: arm64: Plumb the pKVM MMU in KVM") made the
initialization of the local memcache variable in user_mem_abort()
conditional, leaving a codepath where it is used uninitialized via
kvm_pgtable_stage2_map().
This can fail on any path that requires a stage-2 allocation
without transition via a permission fault or dirty logging.
Fix this by making sure that memcache is always valid.
📍 영향받는 시스템
arm64 아키텍처를 사용하는 Linux 커널 (KVM 모듈 포함)
⚔️ 공격 벡터
로컬 권한을 가진 공격자가 특정 메모리 할당 경로를 유도하여 시스템 불안정성을 유발
🛡️ 대응 방법
커널 패치(Commit fce886a60207 관련 수정 사항)를 적용하여 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인