Lucene search

K
debiancveDebian Security Bug TrackerDEBIANCVE:CVE-2022-42336
HistoryMay 17, 2023 - 1:15 a.m.

CVE-2022-42336

2023-05-1701:15:09
Debian Security Bug Tracker
security-tracker.debian.org
17
amd hardware
ssbd selection
thread counter
underflow
overflow
hypervisor

CVSS3

3.3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

EPSS

0

Percentile

9.0%

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.

OSVersionArchitecturePackageVersionFilename
Debian12allxen< 4.17.1+2-gb773c48e36-1xen_4.17.1+2-gb773c48e36-1_all.deb
Debian11allxen< 4.14.6-1xen_4.14.6-1_all.deb
Debian999allxen< 4.17.1+2-gb773c48e36-1xen_4.17.1+2-gb773c48e36-1_all.deb
Debian13allxen< 4.17.1+2-gb773c48e36-1xen_4.17.1+2-gb773c48e36-1_all.deb

CVSS3

3.3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

EPSS

0

Percentile

9.0%