------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 6000 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline] WARNING: CPU: 1 PID: 6000 at fs/buffer.c:1229 __brelse+0x6d/0xb0 fs/buffer.c:1223 Modules linked in: CPU: 1 UID: 0 PID: 6000 Comm: udevd Not tainted 6.13.0-rc7-syzkaller-00102-gce69b4019001 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__brelse fs/buffer.c:1229 [inline] RIP: 0010:__brelse+0x6d/0xb0 fs/buffer.c:1223 Code: 84 d2 75 52 44 8b 63 60 31 ff 44 89 e6 e8 9b c5 79 ff 45 85 e4 75 20 e8 91 ca 79 ff 90 48 c7 c7 a0 23 7f 8b e8 54 06 3a ff 90 <0f> 0b 90 90 5b 5d 41 5c e9 76 ca 79 ff e8 71 ca 79 ff be 04 00 00 RSP: 0018:ffffc90003217c88 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff8880590b6000 RCX: ffffffff815a6179 RDX: ffff888030418000 RSI: ffffffff815a6186 RDI: 0000000000000001 RBP: ffff8880590b6060 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880590b6000 R14: dffffc0000000000 R15: ffff8880b873ff80 FS: 00007f58160a8c80(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26af5fffc4 CR3: 000000002941c000 CR4: 0000000000350ef0 Call Trace: brelse include/linux/buffer_head.h:324 [inline] __invalidate_bh_lrus fs/buffer.c:1498 [inline] invalidate_bh_lru+0xa2/0x190 fs/buffer.c:1511 csd_do_func kernel/smp.c:134 [inline] smp_call_function_many_cond+0xf2d/0x1300 kernel/smp.c:875 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0xf1/0x290 block/bdev.c:670 blkdev_put_whole+0xc4/0xf0 block/bdev.c:677 bdev_release+0x47e/0x6d0 block/bdev.c:1102 blkdev_release+0x15/0x20 block/fops.c:635 __fput+0x3fb/0xb60 fs/file_table.c:450 __fput_sync+0xa1/0xc0 fs/file_table.c:535 __do_sys_close fs/open.c:1554 [inline] __se_sys_close fs/open.c:1539 [inline] __x64_sys_close+0x86/0x100 fs/open.c:1539 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f581617f0a8 Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe56103998 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00007f58160a8ae0 RCX: 00007f581617f0a8 RDX: 000055d18e5eaf76 RSI: 00007ffe56103198 RDI: 0000000000000008 RBP: 000055d4d313ae20 R08: 0000000000000006 R09: b15e175173eb3163 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 000055d4d3137370 R14: 0000000000000008 R15: 000055d4d3116910