CVE-2022-42336

Mishandling of guest SSBD selection on AMD hardware The current logic to set SSBD on AMD Family 17h and Hygon Family 18h processors requires that the setting of SSBD is coordinated at a core level, as the setting is shared between threads. Logic was introduced to keep track of how many threads require SSBD active in order to coordinate it, such logic relies on using a per-core counter of threads that have SSBD active. When running on the mentioned hardware, it's possible for a guest to under or overflow the thread counter, because each write to VIRT_SPEC_CTRL.SSBD by the guest gets propagated to the helper that does the per-core active accounting. Underflowing the counter causes the value to get saturated, and thus attempts for guests running on the same core to set SSBD won't have effect because the hypervisor assumes it's already active.
Configurations

Configuration 1 (hide)

cpe:2.3:o:xen:xen:4.17:*:*:*:*:*:x86:*

History

21 Nov 2024, 07:24

Type Values Removed Values Added
References
  • () http://xenbits.xen.org/xsa/advisory-431.html -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTO3U3WYLAZW3KLPKJZ332FYUREXPZMQ/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTO3U3WYLAZW3KLPKJZ332FYUREXPZMQ/ -
References () https://xenbits.xenproject.org/xsa/advisory-431.txt - Vendor Advisory () https://xenbits.xenproject.org/xsa/advisory-431.txt - Vendor Advisory

07 Nov 2023, 03:53

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTO3U3WYLAZW3KLPKJZ332FYUREXPZMQ/', 'name': 'FEDORA-2023-8334fe0ecb', 'tags': [], 'refsource': 'FEDORA'}
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTO3U3WYLAZW3KLPKJZ332FYUREXPZMQ/ -

27 May 2023, 03:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 3.3
CPE cpe:2.3:o:xen:xen:4.17:*:*:*:*:*:x86:*
CWE NVD-CWE-noinfo
First Time Xen
Xen xen
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTO3U3WYLAZW3KLPKJZ332FYUREXPZMQ/ -
References (MISC) https://xenbits.xenproject.org/xsa/advisory-431.txt - (MISC) https://xenbits.xenproject.org/xsa/advisory-431.txt - Vendor Advisory

Information

Published : 2023-05-17 01:15

Updated : 2024-11-21 07:24


NVD link : CVE-2022-42336

Mitre link : CVE-2022-42336

CVE.ORG link : CVE-2022-42336


JSON object : View

Products Affected

xen

  • xen