------------[ cut here ]------------ WARNING: CPU: 1 PID: 6307 at fs/inode.c:336 drop_nlink+0xc4/0x110 fs/inode.c:336 Modules linked in: CPU: 1 UID: 0 PID: 6307 Comm: syz-executor Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:drop_nlink+0xc4/0x110 fs/inode.c:336 Code: bb 70 07 00 00 be 08 00 00 00 e8 87 0b e6 ff f0 48 ff 83 70 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc e8 ad 61 7f ff 90 <0f> 0b 90 eb 83 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 5c ff ff ff RSP: 0018:ffffc9000be8fc50 EFLAGS: 00010293 RAX: ffffffff82157803 RBX: 1ffff1100b6758ba RCX: ffff8880300fbc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82157783 R09: 1ffffd40002bc1de R10: dffffc0000000000 R11: fffff940002bc1df R12: ffff88805b3ac5d0 R13: 0000000067313a48 R14: ffff88805b3ac588 R15: dffffc0000000000 FS: 0000555581332500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558135d648 CR3: 000000002a174000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_dec_link_count include/linux/fs.h:2510 [inline] minix_unlink+0x25b/0x320 fs/minix/namei.c:157 minix_rmdir+0x5d/0xc0 fs/minix/namei.c:167 vfs_rmdir+0x3a3/0x510 fs/namei.c:4340 do_rmdir+0x3b5/0x580 fs/namei.c:4399 __do_sys_unlinkat fs/namei.c:4575 [inline] __se_sys_unlinkat fs/namei.c:4569 [inline] __x64_sys_unlinkat+0xde/0xf0 fs/namei.c:4569 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8e03f7dcf7 Code: 73 01 c3 48 c7 c1 a8 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 07 01 00 00 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:00007ffeee98ace8 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f8e03f7dcf7 RDX: 0000000000000200 RSI: 00007ffeee98be90 RDI: 00000000ffffff9c RBP: 00007f8e03ff123c R08: 000055558135566b R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000207 R12: 00007ffeee98be90 R13: 00007f8e03ff123c R14: 0000000000020eb6 R15: 00007ffeee98e040