Bug 2522607 (CVE-2026-78409) - CVE-2026-78409 util-linux: util-linux: X-mount.subdir detached-tree resolution can escape via intermediate symlinks
Summary: CVE-2026-78409 util-linux: util-linux: X-mount.subdir detached-tree resolutio...
Keywords:
Status: NEW
Alias: CVE-2026-78409
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-24 18:38 UTC by OSIDB Bzimport
Modified: 2026-09-02 14:20 UTC (History)
25 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-24 18:38:15 UTC
libmount's X-mount.subdir option on Linux >= 6.15 uses a detached-tree fast path (hook_subdir.c / hook_mount.c). The configured subdirectory string is passed to open_tree() with AT_SYMLINK_NOFOLLOW, but that flag does not block intermediate-component symlinks and does not provide RESOLVE_BENEATH-style containment. An unprivileged user with an fstab-authorized X-mount.subdir= entry can therefore resolve outside the newly mounted filesystem (for example via an intermediate symlink to /etc, or via procfs self/root) and attach a host path at the fstab mountpoint. Restricted-user SUID mount(8) reproduction requires Linux >= 6.15; current HEAD gates that detached path on that kernel version. Introduced by ae19f7546ccb (2025-04-15); first released in util-linux v2.42. Affects v2.42 through v2.42.2 and current master. No upstream fix as of 2026-08-24. Reported upstream by Alex0Young. GHSA-8f2p-47x3-43mv.


Note You need to log in before you can comment on or make changes to this bug.