summaryrefslogtreecommitdiff
path: root/Documentation/features/debug/stackprotector
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2026-10-30 18:07:02 +0100
committerAmir Goldstein <amir73il@gmail.com>2026-11-04 07:52:46 +0100
commit323899b4ed233d5b6e2fc160c16fbf39cf0317da (patch)
treed4d95ea1a5060e59418753a262e6b0cfe2067a60 /Documentation/features/debug/stackprotector
parente803c82dcdd15e87b48fca1ea8d2cfe6a7ed83d4 (diff)
ovl: inherit FMODE_NONOTIFY when opening directory realfiles
When fanotify hands a listener an fd for a permission event on an overlay directory, ovl_dir_open_realfile() opens the real directory via dentry_open(), not backing_file_open(), so the lower open could still raise FS_OPEN_PERM and deadlock a listener that also marks the backing filesystem. Export dentry_open_nonotify() and call it from ovl_path_open_realfile() when the overlay user file must not generate events. Ordinary ovl_path_open() callers are unchanged. Reported-by: Christian Brauner (Amutable) <brauner@kernel.org> Closes: https://lore.kernel.org/all/20261030-welpen-anbinden-nullen-b2432cee1d10@brauner/ Fixes: 130fdbc3d1f99 ("ovl: pass correct flags for opening real directory") Cc: stable@vger.kernel.org Tested-by: Edvard Conrad <edvard@tuta.io> Link: https://lore.kernel.org/ltp/P5Iny41--F-9@tuta.io/ Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'Documentation/features/debug/stackprotector')
0 files changed, 0 insertions, 0 deletions