------------[ cut here ]------------ WARNING: CPU: 1 PID: 6999 at fs/inode.c:332 drop_nlink+0xe4/0x138 fs/inode.c:332 Modules linked in: CPU: 1 PID: 6999 Comm: syz.2.635 Not tainted 6.1.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 : ffff800021997920 x29: ffff800021997920 x28: dfff800000000000 x27: dfff800000000000 x26: ffff0000cadb7000 x25: 1fffe0001e835e6c x24: ffff0000f41af3d8 x23: 1fffe0001e835e75 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000f41af3a8 x19: ffff0000f41af360 x18: ffff800021997560 x17: ffff800018b7e000 x16: ffff80000830159c x15: ffff80001865ef80 x14: ffff0000d674ddb8 x13: dfff800000000000 x12: 0000000000080000 x11: 00000000000090b8 x10: ffff800023fac000 x9 : ffff800008aac1a8 x8 : 00000000000090b9 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:899 f2fs_delete_entry+0xae4/0xefc fs/f2fs/dir.c:966 f2fs_unlink+0x4b8/0xbdc fs/f2fs/namei.c:562 vfs_unlink+0x2f0/0x508 fs/namei.c:4322 do_unlinkat+0x4cc/0x70c fs/namei.c:4390 __do_sys_unlinkat fs/namei.c:4433 [inline] __se_sys_unlinkat fs/namei.c:4426 [inline] __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4426 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c 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: 291970 hardirqs last enabled at (291969): [] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline] hardirqs last enabled at (291969): [] ktime_get_coarse_real_ts64+0x114/0x244 kernel/time/timekeeping.c:2261 hardirqs last disabled at (291970): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (291922): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (291920): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---