------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 1 PID: 5838 at fs/buffer.c:1229 __brelse fs/buffer.c:1229 [inline] WARNING: CPU: 1 PID: 5838 at fs/buffer.c:1229 __brelse+0x6d/0xb0 fs/buffer.c:1223 Modules linked in: CPU: 1 UID: 0 PID: 5838 Comm: syz-executor238 Not tainted 6.13.0-rc1-syzkaller #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 4b 70 79 ff 45 85 e4 75 20 e8 01 6e 79 ff 90 48 c7 c7 e0 04 7f 8b e8 64 b8 39 ff 90 <0f> 0b 90 90 5b 5d 41 5c e9 e6 6d 79 ff e8 e1 6d 79 ff be 04 00 00 RSP: 0018:ffffc900040df950 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff88807200f740 RCX: ffffffff815a5159 RDX: ffff888034c08000 RSI: ffffffff815a5166 RDI: 0000000000000001 RBP: ffff88807200f7a0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88807200f740 R14: dffffc0000000000 R15: ffff8880b873ff80 FS: 00007f5f584586c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000331ce000 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 invalidate_bdev+0x72/0xa0 block/bdev.c:100 loop_set_status+0x19e/0x700 drivers/block/loop.c:1263 loop_set_status64 drivers/block/loop.c:1398 [inline] lo_ioctl+0x6ec/0x18b0 drivers/block/loop.c:1548 blkdev_ioctl+0x279/0x6d0 block/ioctl.c:693 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5f584a9829 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 1d 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5f58458218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5f5852b608 RCX: 00007f5f584a9829 RDX: 00000000200007c0 RSI: 0000000000004c04 RDI: 0000000000000005 RBP: 00007f5f5852b600 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5f584f7904 R13: 00007f5f584f6400 R14: 0032656c69662f2e R15: 6f6f6c2f7665642f