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)
Published: 2026-03-25
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

The xen/privcmd driver can execute arbitrary hypercalls from user‑space processes. Normally access is restricted to root and the hypervisor blocks calls that affect other domains. When a guest boots with secure boot enabled, a root process inside that guest can use the driver to modify kernel memory, effectively bypassing the secure boot protection. This flaw only matters for an unprivileged domU that uses the privcmd driver as the device model for another guest, because the hypercalls then target that second guest.

Affected Systems

Affected systems are Linux kernels that include the xen/privcmd module, specifically hosts running XSA‑482–affected code. Version information is not explicitly listed, so any kernel that contains this driver without the lock‑down is vulnerable. The flaw is present in the Linux kernel, as indicated by the provided CPE string.

Risk and Exploitability

The vulnerability scores CVSS 8.2 and has an EPSS probability below 1 %. It is not listed in the CISA KEV catalog, but its high severity and the ability to compromise the hypervisor or other guests make it a significant risk. The likely attack vector is a local or privileged process inside an unprivileged domU that can issue hypercalls after secure boot is enabled; this is inferred from the description. Exploitation would allow unauthorized modification of kernel or guest memory, yielding privilege escalation and possible remote code execution at the host or second‑guest level.

Generated by OpenCVE AI on April 2, 2026 at 17:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied kernel update that includes the XSA‑482 fix for the privcmd driver.
  • If no update is available, configure each unprivileged domU to set the privcmd target domain through Xenstore before it opens the driver.
  • For domUs that do not require privcmd as a device model, disable the driver entirely.
  • Verify that secure boot remains active and that privileged processes on the guest cannot access the privcmd interface.

Generated by OpenCVE AI on April 2, 2026 at 17:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 18 Apr 2026 09:15:00 +0000


Thu, 02 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}


Mon, 30 Mar 2026 07:30:00 +0000


Thu, 26 Mar 2026 17:30:00 +0000

Type Values Removed Values Added
References

Thu, 26 Mar 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-269
CWE-284

Thu, 26 Mar 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-266
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Wed, 25 Mar 2026 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-269
CWE-284

Wed, 25 Mar 2026 12:30:00 +0000


Wed, 25 Mar 2026 10:45:00 +0000

Type Values Removed Values Added
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)
Title xen/privcmd: restrict usage in unprivileged domU
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-04-18T08:59:47.134Z

Reserved: 2026-03-09T15:48:24.141Z

Link: CVE-2026-31788

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-25T11:16:40.513

Modified: 2026-04-18T09:16:33.170

Link: CVE-2026-31788

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-03-25T00:00:00Z

Links: CVE-2026-31788 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-02T20:23:12Z

Weaknesses