CVE-2022-42336
Last modified
CVE-2022-42336 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xen | Xen | 4.17 |
References
- https://xenbits.xenproject.org/xsa/advisory-431.txtVendor Advisory
- https://xenbits.xenproject.org/xsa/advisory-431.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-42336?
How severe is CVE-2022-42336?
How do I fix CVE-2022-42336?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-42330Guests can cause Xenstore crash via soft reset When a guest …7.5
- CVE-2022-42331x86: speculative vulnerability in 32bit SYSCALL path Due to …5.5
- CVE-2022-42332x86 shadow plus log-dirty mode use-after-free In environment…7.8
- CVE-2022-42333x86/HVM pinned cache attributes mis-handling T[his CNA infor…8.6
- CVE-2022-42334x86/HVM pinned cache attributes mis-handling T[his CNA infor…6.5
- CVE-2022-42335x86 shadow paging arbitrary pointer dereference In environme…7.8
- CVE-2022-42337Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-42338Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-42339Adobe Acrobat Reader versions 22.002.20212 (and earlier) and…7.8
- CVE-2022-4234A vulnerability was found in SourceCodester Canteen Manageme…6.1
- CVE-2022-42340Adobe ColdFusion versions Update 14 (and earlier) and Update…7.5
- CVE-2022-42341Adobe ColdFusion versions Update 14 (and earlier) and Update…7.5
Are you affected by CVE-2022-42336?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
