------------[ cut here ]------------ WARNING: CPU: 1 PID: 7149 at fs/inode.c:332 drop_nlink+0xe4/0x138 fs/inode.c:332 Modules linked in: CPU: 1 PID: 7149 Comm: syz.0.986 Not tainted 6.1.112-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+0xe4/0x138 fs/inode.c:332 lr : drop_nlink+0xe4/0x138 fs/inode.c:332 sp : ffff800021df7920 x29: ffff800021df7920 x28: dfff800000000000 x27: dfff800000000000 x26: ffff0000f3033000 x25: 1fffe0001be66e6c x24: ffff0000df3373d8 x23: 1fffe0001be66e75 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000df3373a8 x19: ffff0000df337360 x18: ffff800021df7560 x17: ffff800018aa5000 x16: ffff800008305998 x15: ffff80001858af80 x14: ffff0000d9b4ddb8 x13: dfff800000000000 x12: 0000000000040000 x11: 000000000000d85c x10: ffff800023a6e000 x9 : ffff800008ab4088 x8 : 000000000000d85d x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: drop_nlink+0xe4/0x138 fs/inode.c:332 f2fs_i_links_write fs/f2fs/f2fs.h:3044 [inline] f2fs_drop_nlink+0x110/0x34c fs/f2fs/dir.c:898 f2fs_delete_entry+0xae0/0xef8 fs/f2fs/dir.c:965 f2fs_unlink+0x4b8/0xbdc fs/f2fs/namei.c:631 vfs_unlink+0x2f0/0x508 fs/namei.c:4324 do_unlinkat+0x4cc/0x70c fs/namei.c:4392 __do_sys_unlinkat fs/namei.c:4435 [inline] __se_sys_unlinkat fs/namei.c:4428 [inline] __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4428 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 2792 hardirqs last enabled at (2791): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline] hardirqs last enabled at (2791): [] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94 hardirqs last disabled at (2792): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2436): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2432): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---