THREATINT

We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Fathom (Privacy friendly web analytics)
Zendesk (Helpdesk and Chat)

Ok

Home | EN
Support
CVE
PUBLISHED

CVE-2021-47389

KVM: SVM: fix missing sev_decommission in sev_receive_start

AssignerLinux
Reserved2024-05-21
Published2024-05-21
Updated2024-07-08

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

Product status

Default status
unaffected

af43cbbf954b before efd7866e114d
affected

af43cbbf954b before f1815e0aa770
affected

Default status
affected

5.13
affected

Any version before 5.13
unaffected

5.14.10
unaffected

5.15
unaffected

References

https://git.kernel.org/stable/c/efd7866e114dcb44f86d151e843f8276b7efbc67

https://git.kernel.org/stable/c/f1815e0aa770f2127c5df31eb5c2f0e37b60fa77

cve.org CVE-2021-47389

nvd.nist.gov CVE-2021-47389

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2021-47389
© Copyright 2024 THREATINT. Made in Cyprus with +