+1
−1
+11
−7
Loading
fsnotify_get_mark_safe() may return false for a mark on an unrelated group, which results in bypassing the permission check. Fix by skipping over detached marks that are not in the current group. CC: stable@vger.kernel.org Fixes: abc77577 ("fsnotify: Provide framework for dropping SRCU lock in ->handle_event") Signed-off-by:Miklos Szeredi <mszeredi@redhat.com> Link: https://patch.msgid.link/20260410144950.156160-1-mszeredi@redhat.com Signed-off-by:
Jan Kara <jack@suse.cz>