🇰🇷 한글 설명
Linux 커널의 s390 아키텍처 KVM에서 ucontrol VM에 대해 메모리 영역 설정 ioctl 호출을 허용하여 발생하는 Null 포인터 역참조 취약점입니다. ucontrol VM은 gmap이 0으로 설정되어 있어 해당 ioctl 호출 시 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
특수한 방식의 가상 머신(ucontrol VM)에서 잘못된 메모리 관리 명령을 내릴 경우, 컴퓨터 시스템이 예상치 못한 오류로 멈추거나 충돌할 수 있는 문제입니다. 이를 방지하기 위해 시스템이 해당 명령을 거부하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
kvm: s390: Reject memory region operations for ucontrol VMs
This change rejects the KVM_SET_USER_MEMORY_REGION and
KVM_SET_USER_MEMORY_REGION2 ioctls when called on a ucontrol VM.
This is necessary since ucontrol VMs have kvm->arch.gmap set to 0 and
would thus result in a null pointer dereference further in.
Memory management needs to be performed in userspace and using the
ioctls KVM_S390_UCAS_MAP and KVM_S390_UCAS_UNMAP.
Also improve s390 specific documentation for KVM_SET_USER_MEMORY_REGION
and KVM_SET_USER_MEMORY_REGION2.
[
[email protected]: commit message spelling fix, subject prefix fix]
📍 영향받는 시스템
s390 아키텍처를 사용하는 Linux 커널 (KVM 모듈 포함)
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 ucontrol VM을 대상으로 잘못된 KVM 메모리 관련 ioctl 명령을 호출
🛡️ 대응 방법
s390 KVM 메모리 관리 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인