Hello,
syzbot has tested the proposed patch and the reproducer did not trigger
crash:
Reported-and-tested-by:
syzbot+15927486a4f1bfcbaf91@xxxxxxxxxxxxxxxxxxxxxxxxx
Tested on:
commit: b1da6a51 fsnotify: Fix NULL ptr deref in fanotify_get_fsid()
git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify
kernel config: https://syzkaller.appspot.com/x/.config?x=a42d110b47dd6b36
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
Note: testing is done by a robot and is best-effort only.