A TOCTOU (Time-of-Check-Time-of-Use) race condition...
Moderate severity
Unreviewed
Published
Aug 7, 2026
to the GitHub Advisory Database
•
Updated Aug 7, 2026
Description
Published by the National Vulnerability Database
Aug 7, 2026
Published to the GitHub Advisory Database
Aug 7, 2026
Last updated
Aug 7, 2026
A TOCTOU (Time-of-Check-Time-of-Use) race condition vulnerability was found in the fixfiles script in policycoreutils. When running fixfiles relabel or fixfiles restore, the script used find and chcon commands to locate and relabel unlabeled files under /tmp and other directories. A local attacker could exploit a race window between the file discovery and the label change operation by swapping directory components with symlinks, causing chcon to follow the symlink and modify SELinux labels on arbitrary system files. This could undermine SELinux mandatory access control protections on critical files such as /etc/shadow.
References