Re: [f2fs-dev] [PATCH] f2fs: fix to set sbi->log_blocksize in advance

From: patchwork-bot+f2fs

Date: Tue Oct 13 2026 - 18:32:19 EST


Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:

On Thu, 1 Oct 2026 00:04:50 +0000 you wrote:
> From: Chao Yu <chao@xxxxxxxxxx>
>
> syzbot reported a shift-out-of-bounds in __f2fs_commit_super():
>
> UBSAN: shift-out-of-bounds in fs/f2fs/super.c:3950:27
> shift exponent 4294967287 is too large for 64-bit type 'sector_t'
> (aka 'unsigned long long')
> CPU: 1 UID: 0 PID: 5622 Comm: syz-executor329 Not tainted
> Call Trace:
> <TASK>
> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
> ubsan_epilogue+0xa/0x30 lib/ubsan.c:233
> __ubsan_handle_shift_out_of_bounds+0x36d/0x400 lib/ubsan.c:494
> __f2fs_commit_super+0x43e/0x4d0 fs/f2fs/super.c:3950
> sanity_check_area_boundary+0x7c5/0xe20 fs/f2fs/super.c:4040
> sanity_check_raw_super fs/f2fs/super.c:4215 [inline]
> read_raw_super_block fs/f2fs/super.c:4625 [inline]
> f2fs_fill_super+0x1920/0x7fa0 fs/f2fs/super.c:5160
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: fix to set sbi->log_blocksize in advance
https://git.kernel.org/jaegeuk/f2fs/c/63bb030f36b8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html