REDHAT-BUG-2519646: Race Condition

Published Aug 19, 2026
·
Updated

A race condition vulnerability exists in util-linux's SUID mount binary /usr/bin/mount. The fstab validation and permission checks for the mount target occur before the actual mount syscall executes. A local unprivileged attacker can exploit this window using renameat2(RENAMEEXCHANGE) (or equivalent ancestor directory swaps) to redirect the intended target path to an arbitrary root-owned location, such as /etc/sudoers.d, causing SUID mount(8) to mount there instead. Exploitation requires an /etc/fstab entry with the user or users option where an ancestor directory of the mount target is writable by the attacker. Affects util-linux v2.17 through v2.43-devel (unfixed as of the June 16, 2026 advisory). Reported upstream by Xinyao Hu. GHSA-8gj5-72r3-428g.

Affected Software

1 affected component
util-linux util-linux>=2.17<=2.43-devel

Event History

Aug 19, 2026
Data Sourced
via Red Hat·02:36 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are practically exposed to this issue?

Exposure requires an /etc/fstab entry using the user or users option and a mount target whose ancestor directory is writable by a local unprivileged user. Systems without that combination are not described as exploitable.

2

What access does an attacker need to exploit it?

The attacker needs local unprivileged access and the ability to swap the mount target path or one of its ancestor directories, such as through renameat2(RENAME_EXCHANGE) or an equivalent directory swap.

3

What is the impact of successful exploitation?

An attacker can redirect the SUID mount binary to mount on an arbitrary root-owned location, with /etc/sudoers.d given as an example. This can cause mount(8) to act on a location different from the one validated in fstab.

4

What can be done while a fix is unavailable?

Review /etc/fstab for entries with the user or users option and ensure that no ancestor directory of their mount targets is writable by unprivileged users. Removing those options where they are not needed also eliminates the stated prerequisite.

5

How can administrators identify potentially vulnerable configurations?

Inspect /etc/fstab for mount entries that permit user mounting via user or users, then check permissions on every ancestor directory leading to each configured mount target. A writable ancestor directory for an unprivileged user indicates the configuration condition required for exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203