CVE-2022-42336Xen
Low 3.3
Follow: this CVE · Xen · Xen We alert you by email or Slack (account required).
- Priority
- 20
- CVSS 3.1
- 3.3
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 17
- Auth required
- Yes
- Published
- May 17, 2023
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Xen.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xen | xen | 4.17 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org
- xenbits.xenproject.org Vendor Advisory
- xenbits.xen.org