CVE-2026-53612: util-linux mount hook_owner TOCTOU allows local privilege escalation
A race condition exists in util-linux's SUID mount binary (hookowner.c). When the X-mount.owner, X-mount.group, or X-mount.mode fstab options are set, mount(8) performs a post-mount permission change (lchown()/chmod()) on the mount target path without re-verifying the path still refers to the object that was just mounted. A local unprivileged attacker can use an atomic ancestor directory swap in the window between the mount and the ownership/mode change to redirect the chown/chmod operation to an arbitrary file, gaining control of that file and potentially escalating privileges to root. Exploitation requires an /etc/fstab entry with the user option plus one of X-mount.owner/group/mode, and an ancestor directory writable by the attacker. Introduced in commit 722c96974dd4 (2022-04-19); affects util-linux v2.39 through v2.41.3 (unfixed as of the June 16, 2026 advisory). Reported upstream by Xinyao Hu. GHSA-g8wm-75wr-g2vh.
Other sources
util-linux is a random collection of Linux utilities. In util-linux 2.39 through 2.41.4 and 2.42 through 2.42.1, the SUID mount utility's hookowner.c post-mount hook performs path-based chmod() and lchown() operations on a previously validated mount target. A local low-privileged user authorized by an /etc/fstab entry with user or users and an X-mount.mode, X-mount.owner, or X-mount.group option can use renameat2(RENAMEEXCHANGE) to race a writable ancestor of the target and redirect the privileged ownership or mode change to a root-owned path, potentially gaining root privileges. This issue is fixed in 2.41.5 and 2.42.2.
— MITRE
util-linux mount hookowner TOCTOU allows local privilege escalation
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/util-linuxto a version that resolves this vulnerability.Fixed in 2.39.3-9ubuntu6.6 - Upgrade
Upgrade
ubuntu/util-linuxto a version that resolves this vulnerability.Fixed in 2.41.3-3ubuntu2.2 - Upgrade
Upgrade
azurelinux/util-linuxto a version that resolves this vulnerability.Fixed in 2.40.2-7 - Upgrade
Upgrade
debian/util-linuxto a version that resolves this vulnerability.Fixed in 2.41.5-0+deb13u1Fixed in 2.42.2-1 - Upgrade
Upgrade
util-linuxto a version that resolves this vulnerability.Fixed in 2.41.5 - Upgrade
Upgrade
util-linuxto a version that resolves this vulnerability.Fixed in 2.42.2