# CVE-2021-47389: KVM: SVM: fix missing sev_decommission in sev_receive_start

- Severity: Medium 5.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-05-21T15:03:48.216Z
- Modified: 2026-06-17T04:17:21.523Z
- Weaknesses: CWE-772
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from af43cbbf954b50ca97d5e7bb56c2edc6ffd209ef before efd7866e114dcb44f86d151e843f8276b7efbc67; from af43cbbf954b50ca97d5e7bb56c2edc6ffd209ef before f1815e0aa770f2127c5df31eb5c2f0e37b60fa77; 5.13 (not affected: before 5.13; from 5.14.10 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from af43cbbf954b before efd7866e114d; from af43cbbf954b before f1815e0aa770; 5.13; from 5.13 before 5.14.10; 5.15 (not affected: before 5.13; from 5.14.10 up to 5.14.*; 5.15)

## References

- <https://git.kernel.org/stable/c/efd7866e114dcb44f86d151e843f8276b7efbc67> (patch)
- <https://git.kernel.org/stable/c/f1815e0aa770f2127c5df31eb5c2f0e37b60fa77> (patch)

## Sources

- CVE List: [CVE-2021-47389](https://www.cve.org/CVERecord?id=CVE-2021-47389), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47389](https://nvd.nist.gov/vuln/detail/CVE-2021-47389), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47389 · Whole record: https://cve.day/CVE-2021-47389.json · Rebuilt by cve.day 2026-11-25T22:58:08.830Z
