🇰🇷 한글 설명
Linux 커널의 KVM s390 아키텍처에서 _gaccess_shadow_fault() 함수와 관련된 취약점이 해결되었습니다. 중첩 게스트 메모리가 부모 게스트의 gmap에 존재하지 않을 경우, dat_entry_walk()가 -ENOENT 오류를 반환하여 사용자 공간으로 잘못 전달되는 문제가 있었습니다. 이를 해결하기 위해 매핑이 없는 경우 gmap_link()를 수동으로 호출하도록 수정되었습니다.
💡 쉬운 설명
가상 머신을 실행할 때 메모리 주소를 찾는 과정에서 오류가 발생하여 시스템이 잘못된 정보를 전달하는 버그입니다. 이로 인해 특정 상황에서 가상화 환경의 메모리 관리에 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
KVM: s390: Fix _gaccess_shadow_fault()
In some circumstances, it is possible that the page of nested guest
memory that is being shadowed is not present at all in the parent guest
gmap. dat_entry_walk() will not find any leaf entry and return with
-ENOENT, which will erroneously be propagated all the way to userspace.
Fix by manually calling gmap_link() on the memory of the nested guest
that is being shadowed if the mapping was not already present.
📍 영향받는 시스템
s390 아키텍처를 사용하는 Linux 커널 기반 KVM 환경
⚔️ 공격 벡터
중첩 가상화 환경에서 특정 메모리 접근 패턴을 유도하여 오류를 발생시키는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.