------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 5105 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline] WARNING: CPU: 1 PID: 5105 at fs/buffer.c:1145 __brelse+0x6b/0xa0 fs/buffer.c:1139 Modules linked in: CPU: 1 PID: 5105 Comm: syz-executor.1 Not tainted 6.2.0-rc8-syzkaller-00098-gec35307e18ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__brelse fs/buffer.c:1145 [inline] RIP: 0010:__brelse+0x6b/0xa0 fs/buffer.c:1139 Code: 7c 04 84 d2 75 4e 44 8b 63 60 31 ff 44 89 e6 e8 2b e8 90 ff 45 85 e4 75 1c e8 71 eb 90 ff 48 c7 c7 20 3f 5c 8a e8 20 a9 d3 07 <0f> 0b 5b 5d 41 5c e9 5a eb 90 ff e8 55 eb 90 ff be 04 00 00 00 48 RSP: 0018:ffffc9000420fb70 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff88803d45b910 RCX: 0000000000000000 RDX: ffff8880261f3a80 RSI: ffffffff8166220c RDI: fffff52000841f60 RBP: ffff88803d45b970 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000002 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880b9937380 R15: dffffc0000000000 FS: 00005555558fe400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555907848 CR3: 0000000034140000 CR4: 0000000000350ee0 Call Trace: brelse include/linux/buffer_head.h:326 [inline] __invalidate_bh_lrus fs/buffer.c:1380 [inline] invalidate_bh_lru+0x9d/0x160 fs/buffer.c:1393 smp_call_function_many_cond+0xe28/0x10a0 kernel/smp.c:978 on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1155 kill_bdev block/bdev.c:75 [inline] blkdev_flush_mapping+0x136/0x2f0 block/bdev.c:662 blkdev_put_whole+0xd1/0xf0 block/bdev.c:693 blkdev_put+0x22a/0x770 block/bdev.c:953 deactivate_locked_super+0x98/0x160 fs/super.c:332 deactivate_super+0xb1/0xd0 fs/super.c:363 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1291 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb766e8d567 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 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 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe702d5948 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb766e8d567 RDX: 00007ffe702d5a1b RSI: 000000000000000a RDI: 00007ffe702d5a10 RBP: 00007ffe702d5a10 R08: 00000000ffffffff R09: 00007ffe702d57e0 R10: 00005555558ff8b3 R11: 0000000000000246 R12: 00007fb766ee6b24 R13: 00007ffe702d6ad0 R14: 00005555558ff810 R15: 00007ffe702d6b10