------------[ cut here ]------------ WARNING: CPU: 0 PID: 7634 at fs/inode.c:336 drop_nlink+0xe4/0x138 fs/inode.c:336 Modules linked in: CPU: 0 UID: 0 PID: 7634 Comm: syz.4.167 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : drop_nlink+0xe4/0x138 fs/inode.c:336 lr : drop_nlink+0xe4/0x138 fs/inode.c:336 sp : ffff8000a3d675c0 x29: ffff8000a3d675c0 x28: ffff0000fbe4704a x27: ffff7000147acedc x26: ffff8000a3d67760 x25: dfff800000000000 x24: 0000000000000000 x23: 1fffe0001e1f3586 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000f0f9ac30 x19: ffff0000f0f9abe8 x18: ffff8000a3d672e0 x17: 000000000003ef8c x16: ffff8000802a7fe0 x15: 0000000000000001 x14: 1fffe0001e1f3613 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000002f3d x9 : ffff8000a6e8e000 x8 : 0000000000002f3e x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800080350e88 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: drop_nlink+0xe4/0x138 fs/inode.c:336 (P) drop_nlink+0xe4/0x138 fs/inode.c:336 (L) f2fs_i_links_write fs/f2fs/f2fs.h:3127 [inline] f2fs_rename fs/f2fs/namei.c:999 [inline] f2fs_rename2+0x1584/0x236c fs/f2fs/namei.c:1272 vfs_rename+0x9bc/0xc84 fs/namei.c:5013 do_renameat2+0x9c8/0xe40 fs/namei.c:5170 __do_sys_renameat2 fs/namei.c:5204 [inline] __se_sys_renameat2 fs/namei.c:5201 [inline] __arm64_sys_renameat2+0xd8/0xf4 fs/namei.c:5201 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 334232 hardirqs last enabled at (334231): [] seqcount_lockdep_reader_access+0x80/0x104 include/linux/seqlock.h:74 hardirqs last disabled at (334232): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (334076): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (334074): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---