CVE-2026-31788
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b |
| Linux | Linux | 2.6.37, 0, 5.10.253 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| linux | linux_kernel | 2.6.37, 2.6.37, 2.6.37 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.20-20.229 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| Linux | Linux | 6.1.167, 5.10.253, 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.79-101.147 | 0 |
…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
References
- http://xenbits.xen.org/xsa/advisory-482.html url
- http://www.openwall.com/lists/oss-security/2026/03/24/2 url
- http://www.openwall.com/lists/oss-security/2026/03/24/3 url
- http://www.openwall.com/lists/oss-security/2026/03/24/4 url
- http://www.openwall.com/lists/oss-security/2026/03/24/5 url
- http://www.openwall.com/lists/oss-security/2026/03/26/4 url