Skip to content
OpenAdvisories
Low · 3.3 CVE-2022-42336 EUVD-2022-45411GHSA-79pv-m8fc-mhfj

Mishandling of guest SSBD selection on AMD hardware The current logic to set SSBD on AMD Family 17h and Hygon Family 18h processors require…

Published May 17, 2023 · Updated Jan 22, 2025 · 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.

Affected products

VendorProductAffectedFixed
Xen xen — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xen 4.17.1+2-gb773c48e36-1 —
Debian 13 xen 4.17.1+2-gb773c48e36-1 —
Debian 12 xen 4.17.1+2-gb773c48e36-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 xen No fix yet —
Ubuntu 26.04 LTS xen No fix yet —
Ubuntu 25.10 xen No fix yet —
Ubuntu 24.04 LTS xen No fix yet —
Ubuntu 22.04 LTS xen No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xen No fix yet —
Ubuntu 18.04 LTS xen No fix yet —
Ubuntu 16.04 LTS xen No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP5 xen 4.17.1_04-150500.3.3.1 SUSE-SU-2023:2535-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xen 4.17.1_04-1.1 openSUSE-SU-2024:12959-1
openSUSE Leap 15.5 xen 4.17.1_04-150500.3.3.1 SUSE-SU-2023:2535-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.17.1-r1 —
Alpine v3.23 xen 4.17.1-r1 —
Alpine v3.22 xen 4.17.1-r1 —
Alpine v3.21 xen 4.17.1-r1 —
Alpine v3.20 xen 4.17.1-r1 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.17.1-r1 —
Alpine v3.18 xen 4.17.1-r1 —

Advisories 3

References