------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 6254 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline] WARNING: CPU: 0 PID: 6254 at fs/buffer.c:1229 brelse include/linux/buffer_head.h:324 [inline] WARNING: CPU: 0 PID: 6254 at fs/buffer.c:1229 bh_lru_install fs/buffer.c:1346 [inline] WARNING: CPU: 0 PID: 6254 at fs/buffer.c:1229 __find_get_block+0x109d/0x1150 fs/buffer.c:1400 Modules linked in: CPU: 0 UID: 0 PID: 6254 Comm: syz.0.59 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__brelse fs/buffer.c:1229 [inline] RIP: 0010:brelse include/linux/buffer_head.h:324 [inline] RIP: 0010:bh_lru_install fs/buffer.c:1346 [inline] RIP: 0010:__find_get_block+0x109d/0x1150 fs/buffer.c:1400 Code: c7 3c 9a e8 05 60 dc ff e9 1b f7 ff ff e8 8b 83 78 ff e9 87 f7 ff ff e8 81 83 78 ff 90 48 c7 c7 e0 f0 18 8c e8 a4 26 39 ff 90 <0f> 0b 90 90 e9 6b f7 ff ff e8 65 83 78 ff 48 c7 c7 c0 c8 a8 8e 4c RSP: 0018:ffffc9000bd87740 EFLAGS: 00010246 RAX: 613d4cae871a4700 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90005102000 RSI: 0000000000005f42 RDI: 0000000000005f43 RBP: ffffc9000bd87878 R08: ffffffff816019a2 R09: fffffbfff1cfa210 R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: ffff8880554e50e8 R13: ffff8880b87398b0 R14: ffff8880784af488 R15: ffff88807c3ec318 FS: 00007f7b5860d6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f71fffc CR3: 00000000341f6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bdev_getblk+0x33/0x670 fs/buffer.c:1425 __bread_gfp+0x86/0x400 fs/buffer.c:1485 sb_bread include/linux/buffer_head.h:346 [inline] fat__get_entry fs/fat/dir.c:100 [inline] fat_get_entry+0x78f/0xae0 fs/fat/dir.c:128 __fat_readdir+0x138c/0x1a20 fs/fat/dir.c:602 iterate_dir+0x571/0x800 fs/readdir.c:108 __do_sys_getdents64 fs/readdir.c:403 [inline] __se_sys_getdents64+0x1e2/0x4b0 fs/readdir.c:389 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:0x7f7b57785d29 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:00007f7b5860d038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f7b57975fa0 RCX: 00007f7b57785d29 RDX: 000000000000100f RSI: 0000000020000a40 RDI: 0000000000000004 RBP: 00007f7b57801aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7b57975fa0 R15: 00007ffd44ba24d8