Fedora Account System
Red Hat Associate
Red Hat Customer
A symlink-following vulnerability was found in libvirt's virFileChownFiles() function in src/util/virfile.c. This function is called from src/qemu/qemu_tpm.c to change ownership of the swtpm state directory when starting a QEMU domain. The function used stat() (via virFileIsRegular()) and chown(), both of which follow symlinks. A process running as the confined swtpm user (tss) can plant a symlink inside the swtpm state directory pointing to an arbitrary file. When the root-level libvirt daemon starts the next domain, it calls virFileChownFiles() which follows the symlink and chowns the target file to the tss user. This allows escalation from the swtpm sandbox to root-level file ownership control. The fix replaces stat()/chown() with lstat()/lchown() to avoid following symlinks on the final path component. Upstream fix: https://gitlab.com/libvirt/libvirt/-/commit/801160fd414ca2cc402bc01ead09b7ed4c3b8f5b
This issue has been addressed in the following products: Red Hat Enterprise Linux 10.0 Extended Update Support Via RHSA-2026:64773 https://access.redhat.com/errata/RHSA-2026:64773
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Via RHSA-2026:65516 https://access.redhat.com/errata/RHSA-2026:65516
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.6 Extended Update Support Via RHSA-2026:65515 https://access.redhat.com/errata/RHSA-2026:65515
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Via RHSA-2026:65803 https://access.redhat.com/errata/RHSA-2026:65803
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat Enterprise Linux 8.8 Telecommunications Update Service Via RHSA-2026:68513 https://access.redhat.com/errata/RHSA-2026:68513
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Via RHSA-2026:68594 https://access.redhat.com/errata/RHSA-2026:68594
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Extended Lifecycle Support Via RHSA-2026:69114 https://access.redhat.com/errata/RHSA-2026:69114
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Via RHSA-2026:69131 https://access.redhat.com/errata/RHSA-2026:69131
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2026:74424 https://access.redhat.com/errata/RHSA-2026:74424
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2026:75583 https://access.redhat.com/errata/RHSA-2026:75583