------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 5842 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline] WARNING: CPU: 1 PID: 5842 at fs/buffer.c:1229 __brelse+0x6d/0xb0 fs/buffer.c:1223 Modules linked in: CPU: 1 UID: 0 PID: 5842 Comm: syz-executor Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__brelse fs/buffer.c:1229 [inline] RIP: 0010:__brelse+0x6d/0xb0 fs/buffer.c:1223 Code: 84 d2 75 52 44 8b 63 60 31 ff 44 89 e6 e8 fb d5 79 ff 45 85 e4 75 20 e8 b1 d3 79 ff 90 48 c7 c7 e0 24 7f 8b e8 c4 0d 3a ff 90 <0f> 0b 90 90 5b 5d 41 5c e9 96 d3 79 ff e8 91 d3 79 ff be 04 00 00 RSP: 0018:ffffc90003627bf8 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff8880776c0570 RCX: ffffffff815a5139 RDX: ffff88805e2b9e00 RSI: ffffffff815a5146 RDI: 0000000000000001 RBP: ffff8880776c05d0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880776c0570 R14: dffffc0000000000 R15: ffff8880b873ff80 FS: 00005555897a3500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30212ff8 CR3: 000000005e8c4000 CR4: 0000000000350ef0 Call Trace: brelse include/linux/buffer_head.h:324 [inline] __invalidate_bh_lrus fs/buffer.c:1498 [inline] invalidate_bh_lru+0xa2/0x190 fs/buffer.c:1511 csd_do_func kernel/smp.c:134 [inline] smp_call_function_many_cond+0xf2d/0x1300 kernel/smp.c:875 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 kill_bdev block/bdev.c:90 [inline] blkdev_flush_mapping+0xf1/0x290 block/bdev.c:670 blkdev_put_whole+0xc4/0xf0 block/bdev.c:677 bdev_release+0x47e/0x6d0 block/bdev.c:1102 blkdev_release+0x15/0x20 block/fops.c:635 __fput+0x3fb/0xb60 fs/file_table.c:450 task_work_run+0x151/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6e04d87057 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:00007fff9ee31378 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f6e04d87057 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff9ee31430 RBP: 00007fff9ee31430 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff9ee324b0 R13: 00007f6e04e018f4 R14: 00007fff9ee324f0 R15: 000000000000007a