Improper Validation of VMCB int_ctl Field in KVM's AMD Code Allows Guest-to-Host Escape

Improper Validation of VMCB int_ctl Field in KVM's AMD Code Allows Guest-to-Host Escape

CVE-2021-3653 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

A flaw was found in the KVM's AMD code for supporting SVM nested virtualization. The flaw occurs when processing the VMCB (virtual machine control block) provided by the L1 guest to spawn/handle a nested guest (L2). Due to improper validation of the "int_ctl" field, this issue could allow a malicious L1 to enable AVIC support (Advanced Virtual Interrupt Controller) for the L2 guest. As a result, the L2 guest would be allowed to read/write physical pages of the host, resulting in a crash of the entire system, leak of sensitive data or potential guest-to-host escape. This flaw affects Linux kernel versions prior to 5.14-rc7.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.