Advisory

DEBIAN-CVE-2022-42336

Also known as: CVE-2022-42336

Summary

The record has no summary.

Details

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.

Severity

Low Basis: CVSS v3 score 3.3, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2023-05-17 01:15 UTC
Modified
2026-11-18 06:03 UTC

Affected packages and fixes

xen

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 4.17.1+2-gb773c48e36-1 (ecosystem)

Fixed versions

4.17.1+2-gb773c48e36-1

Fix

  • Fixed version 4.17.1+2-gb773c48e36-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

xen

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 4.17.1+2-gb773c48e36-1 (ecosystem)

Fixed versions

4.17.1+2-gb773c48e36-1

Fix

  • Fixed version 4.17.1+2-gb773c48e36-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

xen

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.17.1+2-gb773c48e36-1 (ecosystem)

Fixed versions

4.17.1+2-gb773c48e36-1

Fix

  • Fixed version 4.17.1+2-gb773c48e36-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences