CVE-2021-47389

Medium

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

SeverityMedium
CVSS5.1
Exploit probability12. percentile0.2%
ProductLinux Kernel
PublishedMay 21, 2024
First seenMay 21, 2024
Weakness typeCWE-772CWE-772

How to fix

Update
  • linux linux_kernel5.14.10 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.13 ≤ v < 5.14.10, 5.155.14.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.