------------[ cut here ]------------ WARNING: CPU: 0 PID: 7542 at fs/inode.c:389 inc_nlink+0x14d/0x170 fs/inode.c:389 Modules linked in: CPU: 0 PID: 7542 Comm: syz-executor.1 Not tainted 6.10.0-rc1-syzkaller-00296-g89be4025b0db #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 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:ffffc90003d1fdc0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88803e040038 RCX: ffffc90006551000 RDX: 0000000000040000 RSI: ffffffff8201018c RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000002 R12: ffff88803e040080 R13: ffffffff8b5bd8c0 R14: ffff88803e040060 R15: ffff88803e040058 FS: 00007ff93c76f6c0(0000) GS:ffff88806b000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cbd6818250 CR3: 000000002c7ba000 CR4: 0000000000350ef0 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_mkdirat fs/namei.c:4169 [inline] __se_sys_mkdirat fs/namei.c:4167 [inline] __x64_sys_mkdirat+0x114/0x170 fs/namei.c:4167 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:0x7ff93ba7cee9 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:00007ff93c76f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ff93bbabf80 RCX: 00007ff93ba7cee9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007ff93bac949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff93bbabf80 R15: 00007ffdc8003cc8