# 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 require…

- Severity: Low 3.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 17% of CVEs (2026-11-30)
- Published: 2023-05-17T00:00:00.000Z
- Modified: 2026-06-17T05:04:45.170Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: XEN

## Description

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.

(As written by CVE List.)

## Affected

- Xen xen: consult Xen advisory XSA-431; 4.17

## Every score

- CISA-ADP: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://xenbits.xenproject.org/xsa/advisory-431.txt> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTO3U3WYLAZW3KLPKJZ332FYUREXPZMQ/> (vendor-advisory)
- <http://xenbits.xen.org/xsa/advisory-431.html>

## Sources

- CVE List: [CVE-2022-42336](https://www.cve.org/CVERecord?id=CVE-2022-42336), CVE Terms of Use, modified 2025-01-22
- NVD: [CVE-2022-42336](https://nvd.nist.gov/vuln/detail/CVE-2022-42336), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-42336 · Whole record: https://cve.day/CVE-2022-42336.json · Rebuilt by cve.day 2026-11-25T22:58:19.244Z
