Skip to content

arch/x86/kvm/svm/nested.c in the Linux kernel before 5.11...

High severity Unreviewed Published May 24, 2022 to the GitHub Advisory Database • Updated May 19, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

arch/x86/kvm/svm/nested.c in the Linux kernel before 5.11.12 has a use-after-free in which an AMD KVM guest can bypass access control on host OS MSRs when there are nested guests, aka CID-a58d9166a756. This occurs because of a TOCTOU race condition associated with a VMCB12 double fetch in nested_svm_vmrun.

References

Published by the National Vulnerability Database Jul 22, 2021
Published to the GitHub Advisory Database May 24, 2022
Last updated May 19, 2023

Severity

High
7.4
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2021-29657

GHSA ID

GHSA-m46m-jr5m-g95h

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Checking history
See something to contribute? Suggest improvements for this vulnerability.