On Mon, 25 Aug 2025 18:12:29 +0000, Askar Safin wrote: > openat2 had a bug: if we pass RESOLVE_NO_XDEV, then openat2 > doesn't traverse through automounts, but may still trigger them. > See this link for full bug report with reproducer: > https://lore.kernel.org/linux-fsdevel/20250817075252.4137628-1-safinaskar@xxxxxxxxxxxx/ > > This patchset fixes the bug. > > [...] Applied to the vfs-6.18.misc branch of the vfs/vfs.git tree. Patches in the vfs-6.18.misc branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs-6.18.misc [1/4] namei: move cross-device check to traverse_mounts https://git.kernel.org/vfs/vfs/c/11c2b7ec2e18 [2/4] namei: remove LOOKUP_NO_XDEV check from handle_mounts https://git.kernel.org/vfs/vfs/c/8b966d00b3ec [3/4] namei: move cross-device check to __traverse_mounts https://git.kernel.org/vfs/vfs/c/8ded1fde0827 [4/4] openat2: don't trigger automounts with RESOLVE_NO_XDEV https://git.kernel.org/vfs/vfs/c/042a60680de4