------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 3524 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 0 PID: 3524 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 0 PID: 3524 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 0 PID: 3524 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407 Modules linked in: CPU: 0 PID: 3524 Comm: syz-executor.2 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__brelse fs/buffer.c:1148 [inline] RIP: 0010:brelse include/linux/buffer_head.h:325 [inline] RIP: 0010:__invalidate_bh_lrus fs/buffer.c:1394 [inline] RIP: 0010:invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407 Code: 00 e8 9c 69 e4 ff f0 ff 0b eb 21 e8 92 99 9a ff 41 80 3c 2e 00 75 26 eb 2c e8 84 99 9a ff 48 c7 c7 20 6c 97 8a e8 d8 41 66 ff <0f> 0b 48 bd 00 00 00 00 00 fc ff df 41 80 3c 2e 00 74 08 4c 89 ff RSP: 0000:ffffc90002ec7ac8 EFLAGS: 00010046 RAX: 5aff17cca194fa00 RBX: ffff888074b8a060 RCX: ffff88801f9c0000 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8166835c R09: ffffed1017344f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9a36578 R13: 0000000000000068 R14: 1ffff11017346cbc R15: ffff8880b9a365e0 FS: 00005555555bb480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f2dac46c5 CR3: 0000000064af2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smp_call_function_many_cond+0x8fa/0xd90 kernel/smp.c:960 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x178/0x340 block/bdev.c:659 blkdev_put_whole block/bdev.c:690 [inline] blkdev_put+0x4f1/0x790 block/bdev.c:954 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f2bd9cfe257 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffeb74f0698 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f2bd9cfe257 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffeb74f0750 RBP: 00007ffeb74f0750 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffeb74f1800 R13: 00007f2bd9d596c6 R14: 000000000000c03c R15: 000000000000000a