🇰🇷 한글 설명
AMD 시스템에서 물리 장치를 게스트로부터 할당 해제할 때, IOMMU의 ID 매핑이 그대로 유지되는 취약점입니다. 이로 인해 게스트가 더 이상 접근해서는 안 되는 메모리 영역에 계속해서 접근할 수 있는 문제가 발생합니다.
💡 쉬운 설명
컴퓨터에서 장치를 사용하다가 뺏어도, 그 장치가 사용하던 메모리 통로가 여전히 열려 있는 상태입니다. 이를 통해 공격자는 허가되지 않은 메모리 영역을 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
IOMMU page mapping issues on x86 T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Both AMD and Intel allow ACPI tables to specify regions of memory which should be left untranslated, which typically means these addresses should pass the translation phase unaltered. While these are typically device specific ACPI properties, they can also be specified to apply to a range of devices, or even all devices. On all systems with such regions Xen failed to prevent guests from undoing/replacing such mappings (CVE-2021-28694). On AMD systems, where a discontinuous range is specified by firmware, the supposedly-excluded middle range will also be identity-mapped (CVE-2021-28695). Further, on AMD systems, upon de-assigment of a physical device from a guest, the identity mappings would be left in place, allowing a guest continued access to ranges of memory which it shouldn't have access to anymore (CVE-2021-28696).
📍 영향받는 시스템
AMD 프로세서를 사용하는 시스템 중 Xen 하이퍼바이저를 사용하는 환경
⚔️ 공격 벡터
게스트 OS에서 물리 장치의 할당 해제 후 잔류하는 ID 매핑을 이용한 메모리 접근
🛡️ 대응 방법
Xen 하이퍼바이저를 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널과 Xen 버전이 CVE-2021-28696 패치가 포함된 최신 버전인지 확인합니다.
xm info | grep -i 'xen' && uname -a
📊 CVSS Vector String
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM Verify Identity Access