------------[ cut here ]------------ WARNING: CPU: 1 PID: 12914 at fs/inode.c:389 inc_nlink+0x14d/0x170 fs/inode.c:389 Modules linked in: CPU: 1 PID: 12914 Comm: syz-executor.4 Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:inc_nlink+0x14d/0x170 fs/inode.c:389 Code: 4c 89 e7 e8 e5 46 e8 ff e9 3e ff ff ff 4c 89 e7 e8 e8 45 e8 ff e9 f8 fe ff ff 4c 89 e7 e8 db 45 e8 ff eb d4 e8 24 1d 8d ff 90 <0f> 0b 90 e9 6c ff ff ff e8 f6 45 e8 ff e9 42 ff ff ff e8 ec 45 e8 RSP: 0018:ffffc90003317dc0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88805c89c580 RCX: ffffc9000b5ff000 RDX: 0000000000040000 RSI: ffffffff8200a52c RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88805c89c5c8 R13: ffffffff8b3b9ac0 R14: ffff88805c89c5a8 R15: ffff88805c89c5a0 FS: 00007f3b734546c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8f558d35c0 CR3: 00000000655be000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_inc_link_count include/linux/fs.h:2435 [inline] sysv_mkdir+0x22/0x150 fs/sysv/namei.c:119 vfs_mkdir+0x57d/0x820 fs/namei.c:4123 do_mkdirat+0x301/0x3a0 fs/namei.c:4146 __do_sys_mkdirat fs/namei.c:4161 [inline] __se_sys_mkdirat fs/namei.c:4159 [inline] __x64_sys_mkdirat+0x114/0x170 fs/namei.c:4159 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3b7267c9a7 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3b73453ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f3b73453f80 RCX: 00007f3b7267c9a7 RDX: 00000000000001ff RSI: 0000000020000000 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 00007f3b73453f40 R14: 0000000000000000 R15: 0000000000000000