The X-mount.subdir option uses a detached-tree fast path on Linux 6.15 and later and passes the configured subdirectory to open_tree() with AT_SYMLINK_NOFOLLOW. That flag does not stop intermediate symlink traversal or keep resolution inside the newly mounted filesystem. A local unprivileged user with an fstab-authorized X-mount.subdir entry can attach a host path at the intended mountpoint.
- CVSS:
- 7.0 (nvd)
- Vector:
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS:
- 0.23% (percentile 14.1)
- CWE:
- CWE-59
- Published:
- Modified:
- First seen:
- NVD status:
- Awaiting Analysis
- Aliases:
- GHSA-8f2p-47x3-43mv