------------[ cut here ]------------ WARNING: CPU: 0 PID: 5599 at fs/inode.c:364 inc_nlink+0x130/0x168 fs/inode.c:364 Modules linked in: CPU: 0 PID: 5599 Comm: syz.3.265 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inc_nlink+0x130/0x168 fs/inode.c:364 lr : inc_nlink+0x130/0x168 fs/inode.c:364 sp : ffff80001d4e7b50 x29: ffff80001d4e7b50 x28: dfff800000000000 x27: 0000000000000000 x26: 1fffe00018d2047a x25: ffff800011e82988 x24: 0000000000000000 x23: 1fffe0001cda4810 x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000e6d24038 x19: ffff0000e6d24080 x18: 0000000000000000 x17: 0000000000000002 x16: ffff800011ac1a54 x15: 0000000000000003 x14: 00000000ffff8000 x13: 00000000f56ed022 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80002593a000 x9 : 0000000000040000 x8 : ffff8000089eaeb4 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000000 x3 : 0000000000000000 x2 : ffff0000cc785028 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inc_nlink+0x130/0x168 fs/inode.c:364 inode_inc_link_count include/linux/fs.h:2497 [inline] sysv_mkdir+0x2c/0x138 fs/sysv/namei.c:119 vfs_mkdir+0x334/0x4e4 fs/namei.c:4065 do_mkdirat+0x20c/0x610 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __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: 26474288 hardirqs last enabled at (26474287): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (26474288): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (26474234): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (26474234): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (26474213): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (26474213): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (26474213): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (26474213): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 599100c906e734c6 ]---