🇰🇷 한글 설명
Linux 커널의 KVM arm64 구현에서 fault injection 및 AT emulation 과정 중 페이지 테이블 탐색 시 SRCU 잠금을 획득하지 않는 취약점이 발견되었습니다. 이로 인해 memslot 변경 시 데이터 일관성이 깨질 수 있으며, 이를 해결하기 위해 테이블 탐색 전 kvm->srcu를 획득하도록 수정되었습니다.
💡 쉬운 설명
가상 머신을 관리하는 리눅스 커널의 특정 기능에서 데이터 보호 장치가 제대로 작동하지 않는 결함이 있었습니다. 이로 인해 시스템 메모리 관리 과정에서 충돌이나 오류가 발생할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Take the SRCU lock for page table walks in fault injection and AT emulation
walk_s1() and kvm_walk_nested_s2() expect to be called while holding
kvm->srcu to guard against memslot changes. While this is generally
the case, __kvm_at_s12() and __kvm_find_s1_desc_level() call into the
respective walkers without taking kvm->srcu.
Fix by acquiring kvm->srcu prior to the table walk in both instances.
📍 영향받는 시스템
Linux kernel (arm64 architecture) using KVM
⚔️ 공격 벡터
메모리 슬롯 변경과 페이지 테이블 탐색이 동시에 일어나는 특정 상황을 이용한 로컬 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.