------------[ cut here ]------------ !(inode_state_read_once(inode) & I_LINKABLE) WARNING: fs/inode.c:475 at inc_nlink+0x122/0x150 fs/inode.c:475, CPU#1: syz.1.49/6257 Modules linked in: CPU: 1 UID: 0 PID: 6257 Comm: syz.1.49 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:inc_nlink+0x122/0x150 fs/inode.c:475 Code: ea 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 39 dd ea ff e9 3f ff ff ff e8 ff b8 84 ff 90 <0f> 0b 90 eb 80 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 50 ff ff ff RSP: 0018:ffffc90005c57d10 EFLAGS: 00010287 RAX: ffffffff823fc811 RBX: ffff888060a39d48 RCX: 0000000000080000 RDX: ffffc9001204d000 RSI: 0000000000000d08 RDI: 0000000000000d09 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1ed4f17 R12: dffffc0000000000 R13: 1ffff1100c1473a9 R14: ffff888060a39d00 R15: ffff888060a39e10 FS: 00007f8113c4c6c0(0000) GS:ffff888126432000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f933fdbf000 CR3: 000000003cf8a000 CR4: 00000000003526f0 Call Trace: inode_inc_link_count include/linux/fs.h:2247 [inline] minix_mkdir+0x44/0x120 fs/minix/namei.c:117 vfs_mkdir+0x40b/0x630 fs/namei.c:5239 filename_mkdirat+0x289/0x520 fs/namei.c:5272 __do_sys_mkdirat fs/namei.c:5293 [inline] __se_sys_mkdirat+0x35/0x150 fs/namei.c:5290 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8115a3b687 Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8113c4be58 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f8113c4bee0 RCX: 00007f8115a3b687 RDX: 00000000000001ff RSI: 00002000000000c0 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000000c0 R13: 00007f8113c4bea0 R14: 0000000000000000 R15: 0000000000000000