5.1medium
KVM: SVM: fix missing sev_decommission in sev_receive_start
- Severity
- 5.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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").
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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").
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: KVM: SVM: corrige la falta de sev_decommission en sev_receive_start DESCOMMISSION el contexto SEV actual si falla la vinculación de un ASID después de RECEIVE_START. Según la API SEV de AMD, RECEIVE_START genera un nuevo contexto de invitado y, por lo tanto, debe combinarse con DECOMMISSION: el comando RECEIVE_START es el único comando, además del comando LAUNCH_START, que genera un nuevo contexto de invitado y un identificador de invitado. La DESCOMISIÓN faltante puede provocar fallas de inicio de SEV posteriores, ya que el firmware pierde memoria y es posible que no pueda asignar más contextos de invitados de SEV en el futuro. Tenga en cuenta que LAUNCH_START sufrió el mismo error, pero se solucionó previamente mediante la confirmación 934002cd660b ("KVM: SVM: llame a SEV Guest Decommission si falla el enlace ASID").
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47389 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47389 changed 2026-06-17 | Public domain |