------------[ cut here ]------------ WARNING: CPU: 0 PID: 4962 at fs/inode.c:307 drop_nlink+0xe8/0x148 fs/inode.c:307 Modules linked in: CPU: 0 PID: 4962 Comm: syz.0.204 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : drop_nlink+0xe8/0x148 fs/inode.c:307 lr : drop_nlink+0xe8/0x148 fs/inode.c:307 sp : ffff8000210a7910 x29: ffff8000210a7910 x28: fffffc000360b248 x27: dfff800000000000 x26: dfff800000000000 x25: 1fffe0001ce4a000 x24: ffff0000e7250078 x23: 1fffe0001ce4a009 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000e7250048 x19: ffff0000e7250000 x18: ffff8000210a7520 x17: 0000000000000002 x16: ffff8000082ec9a8 x15: 000000000002cef7 x14: ffff80001713e500 x13: dfff800000000000 x12: 0000000000040000 x11: 00000000000097e8 x10: ffff800023cf9000 x9 : 00000000000097e9 x8 : ffff8000089eaa0c x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80000804605c x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: drop_nlink+0xe8/0x148 fs/inode.c:307 f2fs_i_links_write fs/f2fs/f2fs.h:2883 [inline] f2fs_drop_nlink+0x10c/0x314 fs/f2fs/dir.c:887 f2fs_delete_entry+0x9e0/0xd68 fs/f2fs/dir.c:954 f2fs_unlink+0x2fc/0x93c fs/f2fs/namei.c:636 vfs_unlink+0x2f0/0x508 fs/namei.c:4280 do_unlinkat+0x4cc/0x830 fs/namei.c:4348 __do_sys_unlinkat fs/namei.c:4391 [inline] __se_sys_unlinkat fs/namei.c:4384 [inline] __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4384 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 354134 hardirqs last enabled at (354133): [] seqcount_lockdep_reader_access+0x208/0x2cc include/linux/seqlock.h:105 hardirqs last disabled at (354134): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (354090): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (354088): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 8bace8d0565a7f53 ]---