deepin-kernel/fs/isofs
Jan Kara 69350ec8e1 isofs: Verify inode mode when loading from disk
commit 0a9e7405131380b57e155f10242b2e25d2e51852 upstream.

Verify that the inode mode is sane when loading it from the disk to
avoid complaints from VFS about setting up invalid inodes.

Reported-by: syzbot+895c23f6917da440ed0d@syzkaller.appspotmail.com
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/20250709095545.31062-2-jack@suse.cz
Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 928f3a277f2cc1c98c698a3374b06608547f5c7c)
2025-07-28 15:19:02 +08:00
..
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile
compress.c - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
dir.c isofs: fix KMSAN uninit-value bug in do_isofs_readdir() 2025-04-14 15:49:16 +08:00
export.c isofs: Prevent the use of too small fid 2025-05-09 22:54:46 +08:00
inode.c isofs: Verify inode mode when loading from disk 2025-07-28 15:19:02 +08:00
isofs.h
joliet.c
namei.c
rock.c isofs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
rock.h
util.c
zisofs.h