------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 4163 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 1 PID: 4163 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 1 PID: 4163 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 1 PID: 4163 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407 Modules linked in: CPU: 1 PID: 4163 Comm: udevd Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 5c 61 e4 ff f0 ff 0b eb 21 e8 92 83 9a ff 41 80 3c 2e 00 75 26 eb 2c e8 84 83 9a ff 48 c7 c7 20 6e b7 8a e8 c8 1d 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:ffffc90002e6fa88 EFLAGS: 00010046 RAX: 1fa870b80bba8500 RBX: ffff88806f50b4e8 RCX: ffff8880292f3b80 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8166aa6c R09: ffffed10171e4f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8f36538 R13: 0000000000000000 R14: 1ffff110171e6ca7 R15: ffff8880b8f36538 FS: 00007f87e9faac80(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7cd67c130 CR3: 000000007d6a6000 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 blkdev_close+0x7c/0xa0 block/fops.c:475 __fput+0x3fe/0x8e0 fs/file_table.c:280 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:0x7f87ea0d60a8 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:00007ffdc489e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f87e9faaae0 RCX: 00007f87ea0d60a8 RDX: 00005562ed8ed8e8 RSI: 00007ffdc489d838 RDI: 0000000000000008 RBP: 00005567bbf52b50 R08: 0000000000000006 R09: 3de5269f9ec2a321 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 00005567bbf417b0 R14: 0000000000000008 R15: 00005567bbf2d910