linux/fs/isofs
Yongpeng Yang 8480f8678b isofs: check the return value of sb_min_blocksize() in isofs_fill_super
commit e106e269c5 upstream.

sb_min_blocksize() may return 0. Check its return value to avoid
opt->blocksize and sb->s_blocksize is 0.

Cc: stable@vger.kernel.org # v6.15
Fixes: 1b17a46c92 ("isofs: convert isofs to use the new mount API")
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Yongpeng Yang <yangyongpeng@xiaomi.com>
Link: https://patch.msgid.link/20251104125009.2111925-4-yangyongpeng.storage@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-12-01 11:43:20 +01:00
..
compress.c isofs: Remove calls to set/clear the error flag 2024-04-23 23:22:11 +02:00
dir.c isofs: fix KMSAN uninit-value bug in do_isofs_readdir() 2025-04-10 14:39:22 +02:00
export.c isofs: Prevent the use of too small fid 2025-04-25 10:47:52 +02:00
inode.c isofs: check the return value of sb_min_blocksize() in isofs_fill_super 2025-12-01 11:43:20 +01:00
isofs.h isofs: fix Y2038 and Y2156 issues in Rock Ridge TF entry 2025-06-27 11:11:34 +01:00
joliet.c isofs: joliet: Fix iocharset=utf8 mount option 2021-08-12 16:07:14 +02:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile isofs: Use *-y instead of *-objs in Makefile 2024-05-09 18:09:57 +02:00
namei.c isofs: release buffer head before return 2021-01-25 17:57:38 +01:00
rock.c isofs: fix Y2038 and Y2156 issues in Rock Ridge TF entry 2025-06-27 11:11:34 +01:00
rock.h isofs: fix Y2038 and Y2156 issues in Rock Ridge TF entry 2025-06-27 11:11:34 +01:00
util.c isofs: fix Y2038 and Y2156 issues in Rock Ridge TF entry 2025-06-27 11:11:34 +01:00
zisofs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 142 2019-05-30 11:25:17 -07:00