Skip to contentSkip to conversation

fuse fixes for 5.15-rc7

GIT PULL Merged Miklos Szeredi 2 participants 2 messages Oct 22, 2021 VFS

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-fixes-5.15-rc7

Syzbot discovered a race in case of reusing the fuse sb (introduced in this cycle). Fix by doing the s_fs_info initialization at the proper place.

Thanks,
Miklos

----------------------------------------------------------------
Miklos Szeredi (5):
fuse: check s_root when destroying sb
fuse: get rid of fuse_put_super()
fuse: clean up fuse_mount destruction
fuse: always initialize sb->s_fs_info
fuse: clean up error exits in fuse_fill_super()

---
 fs/fuse/fuse_i.h    |  3 ++
 fs/fuse/inode.c     | 87 ++++++++++++++++++++++++-----------------------------
 fs/fuse/virtio_fs.c | 12 +++-----
 3 files changed, 46 insertions(+), 56 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 22 Oct 2021 17:17:04 +0200:

The pull request you sent on Fri, 22 Oct 2021 17:17:04 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-fixes-5.15-rc7

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5ab2ed0a8d75ce55ade89e3ff6b75bef7d9fa53f

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html