------------[ cut here ]------------ WARNING: CPU: 0 PID: 4614 at fs/inode.c:389 inc_nlink+0x11d/0x130 fs/inode.c:389 Modules linked in: CPU: 0 PID: 4614 Comm: syz.0.89 Not tainted 5.15.187-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:inc_nlink+0x11d/0x130 fs/inode.c:389 Code: 0c ef ff e9 3a ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4c ff ff ff 48 89 df e8 ad 0c ef ff e9 3f ff ff ff e8 b3 93 a9 ff <0f> 0b eb 82 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 57 41 RSP: 0018:ffffc900033cfd60 EFLAGS: 00010287 RAX: ffffffff81ce3f6d RBX: ffff88805c464080 RCX: 0000000000080000 RDX: ffffc9000eab9000 RSI: 00000000000064c4 RDI: 00000000000064c5 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1002d39a57 R10: ffffed1002d39a57 R11: 1ffff11002d39a56 R12: dffffc0000000000 R13: 1ffff1100b88c810 R14: ffff88805c464038 R15: 0000000000000000 FS: 00007fa6e58ca6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555578ff3608 CR3: 0000000057f38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_inc_link_count include/linux/fs.h:2497 [inline] sysv_mkdir+0x1d/0x120 fs/sysv/namei.c:119 vfs_mkdir+0x387/0x570 fs/namei.c:4065 do_mkdirat+0x1d7/0x5a0 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa6e7a83929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa6e58ca038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fa6e7cab080 RCX: 00007fa6e7a83929 RDX: 0000000000000141 RSI: 0000200000000240 RDI: ffffffffffffff9c RBP: 00007fa6e7b05b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa6e7cab080 R15: 00007fff8e212ef8