loop0: detected capacity change from 0 to 128 oldfs: cannot read superblock ------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 5099 at fs/buffer.c:1241 __brelse fs/buffer.c:1241 [inline] WARNING: CPU: 1 PID: 5099 at fs/buffer.c:1241 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 1 PID: 5099 at fs/buffer.c:1241 __invalidate_bh_lrus fs/buffer.c:1510 [inline] WARNING: CPU: 1 PID: 5099 at fs/buffer.c:1241 invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1523 Modules linked in: CPU: 1 PID: 5099 Comm: syz-executor168 Not tainted 6.9.0-rc6-next-20240501-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__brelse fs/buffer.c:1241 [inline] RIP: 0010:brelse include/linux/buffer_head.h:325 [inline] RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1510 [inline] RIP: 0010:invalidate_bh_lru+0x102/0x1b0 fs/buffer.c:1523 Code: a4 50 dd ff f0 ff 0b eb 25 e8 ca 9f 77 ff 41 80 3c 2e 00 75 2a eb 30 e8 bc 9f 77 ff 90 48 c7 c7 c0 f8 d8 8b e8 af ce 39 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:ffffc9000230f908 EFLAGS: 00010046 RAX: 3c6ef3da2a937600 RBX: ffff8880799464e8 RCX: ffff88807e6c8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81584682 R09: 1ffff110172a519a R10: dffffc0000000000 R11: ffffed10172a519b R12: ffff8880b9539540 R13: 0000000000000000 R14: 1ffff110172a72a8 R15: ffff8880b9539540 FS: 000055556c6bc380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdc737af98 CR3: 0000000077794000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_do_func kernel/smp.c:133 [inline] smp_call_function_many_cond+0x15fe/0x2a00 kernel/smp.c:846 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 kill_bdev block/bdev.c:84 [inline] blkdev_flush_mapping+0xfb/0x270 block/bdev.c:645 blkdev_put_whole block/bdev.c:652 [inline] bdev_release+0x462/0x6f0 block/bdev.c:1076 blkdev_release+0x15/0x20 block/fops.c:623 __fput+0x406/0x8b0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:180 ptrace_notify+0x2d2/0x380 kernel/signal.c:2402 ptrace_report_syscall include/linux/ptrace.h:415 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:477 [inline] syscall_exit_work+0xc6/0x190 kernel/entry/common.c:173 syscall_exit_to_user_mode_prepare kernel/entry/common.c:200 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:205 [inline] syscall_exit_to_user_mode+0x273/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6e6478d8fa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff46a5a958 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffea RBX: 00007fff46a5a970 RCX: 00007f6e6478d8fa RDX: 0000000020000040 RSI: 00000000200000c0 RDI: 00007fff46a5a970 RBP: 0000000000000004 R08: 00007fff46a5a9b0 R09: 0000000000009e47 R10: 0000000000000404 R11: 0000000000000282 R12: 0000000000000404 R13: 00007fff46a5a9b0 R14: 0000000000000003 R15: 0000000000010000