------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 5520 at fs/buffer.c:1239 __brelse fs/buffer.c:1239 [inline] WARNING: CPU: 0 PID: 5520 at fs/buffer.c:1239 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 0 PID: 5520 at fs/buffer.c:1239 __invalidate_bh_lrus fs/buffer.c:1508 [inline] WARNING: CPU: 0 PID: 5520 at fs/buffer.c:1239 invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1521 Modules linked in: CPU: 0 UID: 0 PID: 5520 Comm: udevd Not tainted 6.11.0-rc3-syzkaller-00338-gc3f2d783a459 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__brelse fs/buffer.c:1239 [inline] RIP: 0010:brelse include/linux/buffer_head.h:325 [inline] RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1508 [inline] RIP: 0010:invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1521 Code: b4 45 dd ff f0 ff 0b eb 25 e8 2a 27 79 ff 41 80 3c 2e 00 75 2a eb 30 e8 1c 27 79 ff 90 48 c7 c7 a0 33 f9 8b e8 0f 4e 3b ff 90 <0f> 0b 90 90 48 bd 00 00 00 00 00 fc ff df 41 80 3c 2e 00 74 08 4c RSP: 0018:ffffc900041c7b28 EFLAGS: 00010046 RAX: 0e33b3855b050600 RBX: ffff88807c7246b8 RCX: ffff88801e7a9e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8155b3f2 R09: fffffbfff1cba0e0 R10: dffffc0000000000 R11: fffffbfff1cba0e0 R12: ffff8880b9239620 R13: 0000000000000008 R14: 1ffff110172472c5 R15: ffff8880b9239628 FS: 00007f76952aac80(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000565483c96000 CR3: 000000001f758000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_do_func kernel/smp.c:134 [inline] smp_call_function_many_cond+0x15d7/0x29d0 kernel/smp.c:847 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 kill_bdev block/bdev.c:89 [inline] blkdev_flush_mapping+0xfe/0x250 block/bdev.c:664 blkdev_put_whole block/bdev.c:671 [inline] bdev_release+0x466/0x700 block/bdev.c:1096 blkdev_release+0x15/0x20 block/fops.c:638 __fput+0x24a/0x8a0 fs/file_table.c:422 __do_sys_close fs/open.c:1566 [inline] __se_sys_close fs/open.c:1551 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1551 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:0x7f7694f170a8 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:00007ffdd8cdc6d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00007f76952aaae0 RCX: 00007f7694f170a8 RDX: 00005651e6813904 RSI: 00007ffdd8cdbed8 RDI: 0000000000000008 RBP: 0000565483c8ee10 R08: 0000000000000006 R09: 48c0b098a4c2752a R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 0000565483c76a90 R14: 0000000000000008 R15: 0000565483c6d910