CVE-2021-47389

published 21 May 2024 · updated 11 May 2026

KVM: SVM: fix missing sev_decommission in sev_receive_start

5.1MediumCVSS 5.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel efd7866e114dcb44f86d151e843f8276b7efbc67 and Kernel f1815e0aa770f2127c5df31eb5c2f0e37b60fa77.

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").

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.13, >=af43cbbf954b50ca97d5e7bb56c2edc6ffd209ef <efd7866e114dcb44f86d151e843f8276b7efbc67, >=af43cbbf954b50ca97d5e7bb56c2edc6ffd209ef <f1815e0aa770f2127c5df31eb5c2f0e37b60fa77efd7866e114dcb44f86d151e843f8276b7efbc67, f1815e0aa770f2127c5df31eb5c2f0e37b60fa77

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47389 severity on Zeptric[![CVE-2021-47389](https://zeptric.io/badge/cve/CVE-2021-47389.svg)](https://zeptric.io/cve/CVE-2021-47389)