- Home
- Vulnerabilities
- CVE-2026-121876
CVE-2026-121876
Sandboxed-containers: kernel: systemd-gpt-auto-generator: guest data leakage in confidential computing (sandboxed containers)
Summary
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.
Affected products and versions
Redhat (10 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Hat Enterprise Linux 10 | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 10.0 Extended Update Support | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 10.2 Extended Update Support | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 6 | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 7 | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 8 | Versions not specified | — | CNA (vendor or assigner) |
| Hat Enterprise Linux 9 | Versions not specified | — | CNA (vendor or assigner) |
| Hat OpenShift Container Platform 4 | Versions not specified | — | CNA (vendor or assigner) |
| Hat OpenShift Container Platform 5 | Versions not specified | — | CNA (vendor or assigner) |
| Shadow Migration Toolkit for Virtualization for RHEL 10 | Versions not specified | — | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
Workaroundofficial source
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.
Source : CNA (vendor or assigner)
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1636)
CERT-FR advisories
- CERTFR-2026-AVI-1636 — Multiples vulnérabilités dans le noyau Linux de Red Hat (27 novembre 2026) 27 Nov 2026
References
- https://access.redhat.com/security/cve/CVE-2026-121876vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2558210issue-tracking, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:102168vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:104032vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:104044vendor-advisory, x_refsource_REDHAT
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N(CVSS 3.1, NVD)- Weakness
- CWE-359 · Autre (CWE-359)