linux/fs/minix
Tetsuo Handa 7386197093
minixfs: Verify inode mode when loading from disk
The inode mode loaded from corrupted disk can be invalid. Do like what
commit 0a9e740513 ("isofs: Verify inode mode when loading from disk")
does.

Reported-by: syzbot <syzbot+895c23f6917da440ed0d@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=895c23f6917da440ed0d
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Link: https://lore.kernel.org/ec982681-84b8-4624-94fa-8af15b77cbd2@I-love.SAKURA.ne.jp
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-08-19 13:30:46 +02:00
..
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bitmap.c minix: convert to new timestamp accessors 2023-10-18 14:08:23 +02:00
dir.c fs: Remove three arguments from block_write_end() 2025-06-24 15:53:40 +02:00
file.c fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
inode.c minixfs: Verify inode mode when loading from disk 2025-08-19 13:30:46 +02:00
itree_common.c minix: convert to new timestamp accessors 2023-10-18 14:08:23 +02:00
itree_v1.c fs/minix: remove expected error message in block_to_path() 2020-08-12 10:58:00 -07:00
itree_v2.c fs/minix: remove expected error message in block_to_path() 2020-08-12 10:58:00 -07:00
minix.h minixfs: Convert minix_prepare_chunk() to take a folio 2024-08-07 11:31:57 +02:00
namei.c Change inode_operations.mkdir to return struct dentry * 2025-02-27 20:00:17 +01:00