Message ID | 20211013191856.906264-3-cascardo@canonical.com |
---|---|
State | New |
Headers | show |
Series | CVE-2020-36322 and CVE-2021-28950 | expand |
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 0ffee42c2587..41a1e4691db7 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h @@ -695,6 +695,7 @@ static inline u64 get_node_id(struct inode *inode) static inline void fuse_make_bad(struct inode *inode) { + remove_inode_hash(inode); set_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state); }