exFAT-fs (loop2): error, in sector 160, dentry 5 should be unused, but 0xc1 ------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 6398 at fs/buffer.c:1229 __brelse+0x71/0xa0 fs/buffer.c:1229 Modules linked in: CPU: 1 UID: 0 PID: 6398 Comm: syz.2.87 Not tainted 6.12.0-next-20241119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:__brelse+0x71/0xa0 fs/buffer.c:1229 Code: e8 b4 08 70 ff 48 89 df be 04 00 00 00 e8 c7 fe da ff f0 ff 0b eb 17 e8 9d 08 70 ff 90 48 c7 c7 e0 e0 18 8c e8 20 a7 30 ff 90 <0f> 0b 90 90 5b 5d c3 cc cc cc cc 89 d9 80 e1 07 80 c1 03 38 c1 7c RSP: 0018:ffffc90019d57798 EFLAGS: 00010246 RAX: 464e4481af99bd00 RBX: ffff88805cd6ed10 RCX: 0000000000040000 RDX: ffffc9000530d000 RSI: 000000000000738f RDI: 0000000000007390 RBP: 0000000000000000 R08: ffffffff81601a72 R09: fffffbfff1cfa218 R10: dffffc0000000000 R11: fffffbfff1cfa218 R12: 0000000000000000 R13: 0000000000000001 R14: 1ffff920033aaf71 R15: 0000000000000000 FS: 00007f826b9d56c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1ce81fba4c CR3: 000000003005e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: brelse include/linux/buffer_head.h:324 [inline] exfat_put_dentry_set+0x182/0x2b0 fs/exfat/dir.c:553 exfat_add_entry+0x5e0/0xaa0 fs/exfat/namei.c:519 exfat_mkdir+0x1c7/0x580 fs/exfat/namei.c:858 vfs_mkdir+0x2f9/0x4f0 fs/namei.c:4311 do_mkdirat+0x264/0x3a0 fs/namei.c:4334 __do_sys_mkdirat fs/namei.c:4349 [inline] __se_sys_mkdirat fs/namei.c:4347 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4347 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:0x7f826d57e759 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:00007f826b9d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f826d736058 RCX: 00007f826d57e759 RDX: 0000000000000000 RSI: 0000000020000240 RDI: ffffffffffffff9c RBP: 00007f826d5f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f826d736058 R15: 00007ffc21adda08