CVE-2022-42336
lowpriority · track · 13EPSS 0.003 · 18 %ileDEEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1234Xen: Schwachstelle ermöglicht Darstellen falscher InformationenDeutsch2023-05-16csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in Xen ausnutzen, um falsche Informationen darzustellen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- http://xenbits.xen.org/xsa/xsa431.patchPatchcnnvd
- https://cxsecurity.com/cveshow/CVE-2022-42336/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTO3U3WYLAZW3KLPKJZ332FYUREXPZMQ/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.2868cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.3495cnnvd
- https://xenbits.xenproject.org/xsa/advisory-431.txtcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTO3U3WYLAZW3KLPKJZ332FYUREXPZMQ/enisa_euvd
- https://xenbits.xenproject.org/xsa/advisory-431.txtenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan