------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 5001 at fs/buffer.c:1148 __brelse fs/buffer.c:1148 [inline] WARNING: CPU: 0 PID: 5001 at fs/buffer.c:1148 brelse include/linux/buffer_head.h:325 [inline] WARNING: CPU: 0 PID: 5001 at fs/buffer.c:1148 __invalidate_bh_lrus fs/buffer.c:1394 [inline] WARNING: CPU: 0 PID: 5001 at fs/buffer.c:1148 invalidate_bh_lru+0xf8/0x1a0 fs/buffer.c:1407 Modules linked in: CPU: 0 PID: 5001 Comm: udevd Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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 89 e4 ff f0 ff 0b eb 21 e8 92 97 9a ff 41 80 3c 2e 00 75 26 eb 2c e8 84 97 9a ff 48 c7 c7 a0 61 b7 8a e8 48 56 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:ffffc90002f6fa88 EFLAGS: 00010046 RAX: a33fd68f7bc33700 RBX: ffff88807ecb47a0 RCX: ffff88805b873b80 RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8166728c R09: ffffed10171c4f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8e36538 R13: 0000000000000000 R14: 1ffff110171c6ca7 R15: ffff8880b8e36538 FS: 00007fe3ae72fc80(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055658b783248 CR3: 000000001a1ab000 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:957 blkdev_close+0x7c/0xa0 block/fops.c:475 __fput+0x3fe/0x8e0 fs/file_table.c:311 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/0x80 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fe3ae85b0a8 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:00007ffd645fe138 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007fe3ae72fae0 RCX: 00007fe3ae85b0a8 RDX: 00005560dd208f7e RSI: 00007ffd645fd938 RDI: 0000000000000008 RBP: 000055658b771400 R08: 0000000000000006 R09: e202fec8a1bbd231 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 000055658b763060 R14: 0000000000000008 R15: 000055658b752910