------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 4171 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 1 PID: 4171 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 1 PID: 4171 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 1 PID: 4171 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407 Modules linked in: CPU: 1 PID: 4171 Comm: syz-executor Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 cc 60 e4 ff f0 ff 0b eb 21 e8 e2 86 9a ff 41 80 3c 2e 00 75 26 eb 2c e8 d4 86 9a ff 48 c7 c7 a0 6b 97 8a e8 98 22 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: 0018:ffffc90002f57ac8 EFLAGS: 00010046 RAX: 9ee03026de54bc00 RBX: ffff88807278cb40 RCX: ffff88807d439dc0 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81669a1c R09: ffffed1017224f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9136538 R13: 0000000000000008 R14: 1ffff11017226ca8 R15: ffff8880b9136540 FS: 000055556a8b7500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcb63b7ff8 CR3: 0000000064c43000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 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:188 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:0x7fb7d286da87 Code: a8 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 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe9de6fcb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fb7d28df5fc RCX: 00007fb7d286da87 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe9de6fd70 RBP: 00007ffe9de6fd70 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe9de70df0 R13: 00007fb7d28df5fc R14: 00000000000327b8 R15: 00007ffe9de70e30