exFAT-fs (loop3): error, in sector 160, dentry 5 should be unused, but 0xc1 ------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 12783 at fs/buffer.c:1229 __brelse+0x71/0xa0 fs/buffer.c:1229 Modules linked in: CPU: 0 UID: 0 PID: 12783 Comm: syz.3.2178 Not tainted 6.12.0-next-20241120-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 64 0b 70 ff 48 89 df be 04 00 00 00 e8 d7 fe da ff f0 ff 0b eb 17 e8 4d 0b 70 ff 90 48 c7 c7 20 e1 18 8c e8 20 a9 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:ffffc90019a0f798 EFLAGS: 00010246 RAX: e31160e0fde1c800 RBX: ffff888030603970 RCX: 0000000000040000 RDX: ffffc9000531b000 RSI: 0000000000008d36 RDI: 0000000000008d37 RBP: 0000000000000000 R08: ffffffff81601b32 R09: 1ffff110170c519a R10: dffffc0000000000 R11: ffffed10170c519b R12: 0000000000000000 R13: 0000000000000001 R14: 1ffff92003341f71 R15: 0000000000000000 FS: 00007effa0a106c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007febcde656c0 CR3: 000000005dc6e000 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:0x7eff9fb7e759 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:00007effa0a10038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007eff9fd35f80 RCX: 00007eff9fb7e759 RDX: 0000000000000000 RSI: 0000000020000240 RDI: ffffffffffffff9c RBP: 00007eff9fbf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007eff9fd35f80 R15: 00007ffd26b19648