In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: fix missing sev_decommission in sev_receive_start DECOMMISSION the current SEV context if binding an ASID fails after RECEIVE_START. Per AMD's SEV API, RECEIVE_START generates a new guest context and thus needs to be paired with DECOMMISSION: The RECEIVE_START command is the only command other than the LAUNCH_START command that generates a new guest context and guest handle. The missing DECOMMISSION can result in subsequent SEV launch failures, as the firmware leaks memory and might not able to allocate more SEV guest contexts in the future. Note, LAUNCH_START suffered the same bug, but was previously fixed by commit 934002cd660b ("KVM: SVM: Call SEV Guest Decommission if ASID binding fails").
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-21T15:03:48.216Z

Updated: 2024-08-04T05:39:59.120Z

Reserved: 2024-05-21T14:58:30.813Z

Link: CVE-2021-47389

cve-icon Vulnrichment

Updated: 2024-08-04T05:39:59.120Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-21T15:15:24.330

Modified: 2024-07-09T16:22:03.467

Link: CVE-2021-47389

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-21T00:00:00Z

Links: CVE-2021-47389 - Bugzilla