VDB

CVE-2026-31788

CVE-2026-31788 PUBLISHED CVSS 8.2 HIGH

xen/privcmd: restrict usage in unprivileged domU

Reported by linux · Published March 25, 2026

In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: restrict usage in unprivileged domU The Xen privcmd driver allows to issue arbitrary hypercalls from user space processes. This is normally no problem, as access is usually limited to root and the hypervisor will deny any hypercalls affecting other domains. In case the guest is booted using secure boot, however, the privcmd driver would be enabling a root user process to modify e.g. kernel memory contents, thus breaking the secure boot feature. The only known case where an unprivileged domU is really needing to use the privcmd driver is the case when it is acting as the device model for another guest. In this case all hypercalls issued via the privcmd driver will target that other guest. Fortunately the privcmd driver can already be locked down to allow only hypercalls targeting a specific domain, but this mode can be activated from user land only today. The target domain can be obtained from Xenstore, so when not running in dom0 restrict the privcmd driver to that target domain from the beginning, resolving the potential problem of breaking secure boot. This is XSA-482 --- V2: - defer reading from Xenstore if Xenstore isn't ready yet (Jan Beulich) - wait in open() if target domain isn't known yet - issue message in case no target domain found (Jan Beulich)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.20-20.229.amzn2023

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b
LinuxLinux2.6.37, 0, 5.10.253
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel2.6.37, 2.6.37, 2.6.37
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.18.20-20.2290
amazon:2023kernel-tools0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-headers0
amazon:2023kernel-headers0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-tools-devel0
LinuxLinux6.1.167, 5.10.253, 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b
amazon:2023bpftool0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-livepatch-6.12.79-101.1470

…and 26 more

Timeline

  • Mar 24, 2026 PoC Published (3 in total, the first dated here)
  • Mar 24, 2026 CVE Published
  • Mar 25, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 25, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-31788
vulnetix vdb fixes CVE-2026-31788

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31788/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›