------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 4731 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 1 PID: 4731 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 1 PID: 4731 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 1 PID: 4731 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407 Modules linked in: CPU: 1 PID: 4731 Comm: syz-executor Not tainted 5.15.162-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 6c 69 e4 ff f0 ff 0b eb 21 e8 d2 98 9a ff 41 80 3c 2e 00 75 26 eb 2c e8 c4 98 9a ff 48 c7 c7 20 6c 97 8a e8 e8 40 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:ffffc900030afac8 EFLAGS: 00010046 RAX: d6ec163f25477b00 RBX: ffff8880635bb4e8 RCX: ffff88807ad7d940 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff816683dc R09: ffffed1017364f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9b36578 R13: 0000000000000030 R14: 1ffff11017366cb5 R15: ffff8880b9b365a8 FS: 00005555562c8500(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001a000 CR3: 000000002351e000 CR4: 00000000003506e0 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:0x7fb2a3de8f07 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:00007ffcba409f48 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fb2a3e55515 RCX: 00007fb2a3de8f07 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcba40a000 RBP: 00007ffcba40a000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcba40b0c0 R13: 00007fb2a3e55515 R14: 0000000000051bd2 R15: 0000000000051506