------------[ cut here ]------------ WARNING: CPU: 0 PID: 10435 at fs/inode.c:389 inc_nlink+0x14d/0x170 fs/inode.c:389 Modules linked in: CPU: 0 PID: 10435 Comm: syz-executor.0 Not tainted 6.10.0-rc2-syzkaller-00022-g32f88d65f01b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:inc_nlink+0x14d/0x170 fs/inode.c:389 Code: 4c 89 e7 e8 f5 a6 e8 ff e9 3e ff ff ff 4c 89 e7 e8 f8 a5 e8 ff e9 f8 fe ff ff 4c 89 e7 e8 eb a5 e8 ff eb d4 e8 64 d3 8c ff 90 <0f> 0b 90 e9 6c ff ff ff e8 06 a6 e8 ff e9 42 ff ff ff e8 fc a5 e8 RSP: 0018:ffffc90003f87dc8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888056034038 RCX: ffffc9000a9b3000 RDX: 0000000000040000 RSI: ffffffff8201118c RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000002 R12: ffff888056034080 R13: ffffffff8b5bd8c0 R14: ffff888056034060 R15: ffff888056034058 FS: 00007f56182e16c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31923000 CR3: 000000005a3ec000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_inc_link_count include/linux/fs.h:2434 [inline] sysv_mkdir+0x22/0x150 fs/sysv/namei.c:119 vfs_mkdir+0x57d/0x860 fs/namei.c:4131 do_mkdirat+0x301/0x3a0 fs/namei.c:4154 __do_sys_mkdir fs/namei.c:4174 [inline] __se_sys_mkdir fs/namei.c:4172 [inline] __x64_sys_mkdir+0xf1/0x140 fs/namei.c:4172 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f561747cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f56182e10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f56175b3f80 RCX: 00007f561747cee9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007f56174da6fe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f56175b3f80 R15: 00007ffe77b23fc8