🇰🇷 한글 설명
Linux 커널의 KVM arm64 구현에서 L1 VNCR 매핑 시 읽기 전용 PFN(Page Frame Number) 권한을 적절히 준수하지 않는 취약점이 발견되었습니다. 이로 인해 읽기 전용 메모리 영역에 대한 권한 제어가 미흡할 수 있으며, 특정 상황에서 페이지 누수(page leak)가 발생할 수 있습니다.
💡 쉬운 설명
가상 머신을 운영하는 시스템에서 특정 메모리 영역을 '읽기 전용'으로 설정하더라도, 시스템이 이를 무시하고 쓰기가 가능하게 처리할 수 있는 보안 결함입니다. 이 결함을 이용하면 메모리 정보가 유출되거나 시스템 보안 설정이 무력화될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: nv: Respect read-only PFN when mapping L1 VNCR
KVM currently maps the L1 VNCR into the host stage-1 by relying entirely
on the permissions of the guest stage-1. At the same time, it is
entirely possible that the backing PFN is read-only (e.g. RO memslot),
meaning that the L1 VNCR should use at most a read-only mapping.
Cache the writability of the PFN in the VNCR TLB and use it to constrain
the resulting fixmap permissions. Promote VNCR permission faults to an
SEA in the case where the guest attempts to write to a read-only
endpoint. Conveniently, this also plugs a page leak found by Sashiko [*]
resulting from the early return for a read-only PFN.
📍 영향받는 시스템
Linux kernel (KVM arm64 architecture)
⚔️ 공격 벡터
가상 머신(Guest) 내에서 읽기 전용으로 설정된 메모리 영역에 대한 부적절한 권한을 이용한 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.