CVE-2026-121876

Sandboxed-containers: kernel: systemd-gpt-auto-generator: guest data leakage in confidential computing (sandboxed containers)

Published Nov 12, 2026 CVSS 3.1 · 7.9 High EPSS < 1% KEV · Not listed
Description
A flaw was found in the interaction between systemd-gpt-auto-generator and
confidential computing guest VM images in OpenShift Sandboxed Containers
(confidential peer pods). systemd-gpt-auto-generator automatically discovers
and mounts GPT partitions by type GUID at boot with no user confirmation. In
the confidential computing threat model, where the host/hypervisor is the
adversary, a malicious host can inject partitions into the guest's virtual
disk. Most critically, injecting a swap partition causes the guest kernel to
page out TEE-encrypted memory to a host-controlled block device, breaking the
confidentiality guarantee of the hardware TEE (AMD SEV-SNP, Intel TDX).

The PodVM images use a GPT-partitioned disk with dm-verity on the root
partition. However, the roothash= kernel parameter only disables root
auto-discovery — non-root partitions (swap, /home, /var, /srv, /var/tmp) are
still auto-discovered and mounted. The generator is shipped unmasked in the
RHEL systemd-udev subpackage, and no kernel command line parameter in the
measured UKI addon disables it. Additionally, the PodVM measurement script
captures PCRs 3, 9, 11, and 12, but not PCR 5 (GPT partition table), so
partition table modifications are not detected by remote attestation.

Analysis

AI-generated

Technical impact

The vulnerability arises because systemd‑gpt‑auto‑generator automatically discovers and mounts GPT partitions by type GUID during boot without user confirmation. In a confidential computing setting where the host or hypervisor is considered an adversary, a malicious host can inject arbitrary partitions into the guest’s virtual disk. The most critical outcome is that inserting a swap partition allows the guest kernel to page out TEE‑encrypted memory to a host‑controlled block device, thereby violating the confidentiality guarantees of the hardware TEE (AMD SEV‑SNP, Intel TDX).

Affected Systems

The flaw affects Red Hat Enterprise Linux releases 6 through 10 and the Red Hat OpenShift Container Platform versions 4 and 5. These systems use the systemd‑udev subpackage that ships the generator unmasked, and the default PodVM measurement script does not cover the GPT partition table, so partition modifications go undetected during remote attestation.

Risk and Exploitability

The CVSS score of 7.9 classifies this as a high‑severity problem, but the EPSS score is not available, and the vulnerability is not currently listed in the CISA KEV catalog. The principal attack vector is a compromised host that can inject partitions; thus, the risk is significant for environments that rely on end‑to‑end confidentiality. Because no public exploit has been reported, the likelihood of exploitation remains unknown, yet the potential for severe data exposure warrants immediate countermeasures.

Remediation

Vendor Workaround

Add systemd.gpt_auto=0 to the measured kernel command line (UKI addon) to completely disable systemd-gpt-auto-generator. Since the PodVM already uses explicit partition layout and dm-verity, auto-discovery is unnecessary. The patches released are using the following mitigation: `systemd.image_policy=root=open`. Alternative mitigations: - Disable swap specifically: add systemd.swap=0 to the kernel command line - Mask the generator in the guest image: ln -sf /dev/null /etc/systemd/system-generators/systemd-gpt-auto-generator - Include PCR 5 in the PodVM measurement script alongside PCRs 3, 9, 11, 12 - For systemd 254+: set restrictive image policy via systemd.image_policy=root=verity+signed+encrypted+unprotected+absent:swap=absent:home=absent:srv=absent:var=absent:tmp=absent ### Summary For RHEL 10: - UKI users: update the UKI. - Non-UKI users: update the kernel command line (either systemd.gpt_auto=0 or a fine-grained systemd.image_policy). For RHEL 9: - UKI (kernel-uki-virt) users: update kernel-uki-virt and update systemd in the main system. - Non-UKI users: update systemd in the main system, update the kernel command line (either systemd.gpt_auto=0 or the newly introduced options: systemd.rhel.gpt_auto_home=no, systemd.rhel.gpt_auto_var=no, systemd.rhel.gpt_auto_tmp=no, systemd.rhel.gpt_auto_srv=no, systemd.rhel.gpt_auto_esp=no, systemd.rhel.gpt_auto_xbootldr=no, systemd.swap=no), and regenerate initramfs with dracut. For RHEL 8: - Non-UKI users (there is no UKI in RHEL 8): use systemd.gpt_auto=0 on the kernel command line.


OpenCVE Recommended Actions

  • Add systemd.gpt_auto=0 to the measured kernel command line in the UKI addon to disable systemd‑gpt‑auto‑generator.
  • Apply a restrictive systemd.image_policy – for example, root=verity+signed+encrypted+unprotected+absent:swap=absent:home=absent:srv=absent:var=absent:tmp=absent on systems running systemd 254 or newer.
  • Disable swap by adding systemd.swap=0 to the kernel command line or mask the generator in the guest image with ln -sf /dev/null /etc/systemd/system-generators/systemd-gpt-auto-generator.

Generated by OpenCVE AI on November 13, 2026 at 10:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat shadow Migration Toolkit
CPEs cpe:/a:redhat:shadow_migration_toolkit:10::el10
cpe:/o:redhat:enterprise_linux_eus:10.2
Vendors & Products Redhat shadow Migration Toolkit
References
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
CPEs cpe:/o:redhat:enterprise_linux_eus:10.0
Vendors & Products Redhat enterprise Linux Eus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10.3
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Redhat openshift Container Platform
Vendors & Products Red Hat
Red Hat enterprise Linux
Redhat openshift Container Platform
Type Values Removed Values Added
Description A flaw was found in the interaction between systemd-gpt-auto-generator and confidential computing guest VM images in OpenShift Sandboxed Containers (confidential peer pods). systemd-gpt-auto-generator automatically discovers and mounts GPT partitions by type GUID at boot with no user confirmation. In the confidential computing threat model, where the host/hypervisor is the adversary, a malicious host can inject partitions into the guest's virtual disk. Most critically, injecting a swap partition causes the guest kernel to page out TEE-encrypted memory to a host-controlled block device, breaking the confidentiality guarantee of the hardware TEE (AMD SEV-SNP, Intel TDX). The PodVM images use a GPT-partitioned disk with dm-verity on the root partition. However, the roothash= kernel parameter only disables root auto-discovery — non-root partitions (swap, /home, /var, /srv, /var/tmp) are still auto-discovered and mounted. The generator is shipped unmasked in the RHEL systemd-udev subpackage, and no kernel command line parameter in the measured UKI addon disables it. Additionally, the PodVM measurement script captures PCRs 3, 9, 11, and 12, but not PCR 5 (GPT partition table), so partition table modifications are not detected by remote attestation.
Title Sandboxed-containers: kernel: systemd-gpt-auto-generator: guest data leakage in confidential computing (sandboxed containers)
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
Weaknesses CWE-359
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
Redhat rhel Els
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-359

    Exposure of Private Personal Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Dec 2, 2026, 5:39 PM
Reserved
Nov 4, 2026, 10:34 AM
Status
Awaiting Analysis
Published
Nov 12, 2026, 5:17 PM
Modified
Nov 27, 2026, 1:17 PM
Severity
Important
Public date
Nov 12, 2026, 2:00 PM