Re: [PATCH] proc: Use new_inode not new_inode_pseudo

2020-06-15 Thread Jan Kara
On Fri 12-06-20 14:15:51, Eric W. Biederman wrote: > > Recently syzbot reported that unmounting proc when there is an ongoing > inotify watch on the root directory of proc could result in a use > after free when the watch is removed after the unmount of proc > when the watcher exits. > > Commit 6

[PATCH] proc: Use new_inode not new_inode_pseudo

2020-06-12 Thread Eric W. Biederman
Recently syzbot reported that unmounting proc when there is an ongoing inotify watch on the root directory of proc could result in a use after free when the watch is removed after the unmount of proc when the watcher exits. Commit 69879c01a0c3 ("proc: Remove the now unnecessary internal mount of