syz.3.710: attempt to access beyond end of device loop3: rw=0, sector=45064, nr_sectors = 8 limit=40427 F2FS-fs (loop3): inject evict_inode fail in f2fs_evict_inode of evict+0x501/0x9c0 fs/inode.c:810 ------------[ cut here ]------------ kernel BUG at fs/f2fs/inode.c:951! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 12211 Comm: syz.3.710 Not tainted 6.16.0-rc4-syzkaller-00049-gb4911fb0b060 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:f2fs_evict_inode+0x18ff/0x1920 fs/f2fs/inode.c:951 Code: 02 00 00 00 e8 d2 d7 c4 fd 40 84 ed 75 2c e8 c8 d4 c4 fd 4c 8b 2c 24 e9 d0 e8 ff ff e8 ba d4 c4 fd 90 0f 0b e8 b2 d4 c4 fd 90 <0f> 0b e8 aa d4 c4 fd 90 0f 0b 90 e9 ff fe ff ff e8 9c d4 c4 fd e8 RSP: 0018:ffffc900054ef6f8 EFLAGS: 00010293 RAX: ffffffff83fb78de RBX: ffff8880578811e0 RCX: ffff88801eb55a00 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffff888057881687 R09: 1ffff1100af102d0 R10: dffffc0000000000 R11: ffffed100af102d1 R12: ffff88807bfda087 R13: 1ffff1100af102d0 R14: 0000000000000002 R15: ffff888057881680 FS: 0000000000000000(0000) GS:ffff888125c84000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ed7fa34950 CR3: 000000007e85c000 CR4: 00000000003526f0 Call Trace: evict+0x501/0x9c0 fs/inode.c:810 __dentry_kill+0x209/0x660 fs/dcache.c:669 dput+0x19f/0x2b0 fs/dcache.c:911 __fput+0x68e/0xa70 fs/file_table.c:473 task_work_run+0x1d4/0x260 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6b5/0x22e0 kernel/exit.c:964 do_group_exit+0x21c/0x2d0 kernel/exit.c:1105 get_signal+0x125e/0x1310 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbe2398e929 Code: Unable to access opcode bytes at 0x7fbe2398e8ff. RSP: 002b:00007fbe24820038 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: fffffffffffffffb RBX: 00007fbe23bb5fa0 RCX: 00007fbe2398e929 RDX: 0000000000000058 RSI: ffffffff81000000 RDI: 0000000000000007 RBP: 00007fbe23a10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbe23bb5fa0 R15: 00007ffec2b7d4b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_evict_inode+0x18ff/0x1920 fs/f2fs/inode.c:951 Code: 02 00 00 00 e8 d2 d7 c4 fd 40 84 ed 75 2c e8 c8 d4 c4 fd 4c 8b 2c 24 e9 d0 e8 ff ff e8 ba d4 c4 fd 90 0f 0b e8 b2 d4 c4 fd 90 <0f> 0b e8 aa d4 c4 fd 90 0f 0b 90 e9 ff fe ff ff e8 9c d4 c4 fd e8 RSP: 0018:ffffc900054ef6f8 EFLAGS: 00010293 RAX: ffffffff83fb78de RBX: ffff8880578811e0 RCX: ffff88801eb55a00 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffff888057881687 R09: 1ffff1100af102d0 R10: dffffc0000000000 R11: ffffed100af102d1 R12: ffff88807bfda087 R13: 1ffff1100af102d0 R14: 0000000000000002 R15: ffff888057881680 FS: 0000000000000000(0000) GS:ffff888125d84000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fac41d20be8 CR3: 00000000747c6000 CR4: 00000000003526f0