loop0: detected capacity change from 0 to 128 oldfs: cannot read superblock ------------[ cut here ]------------ VFS: brelse: Trying to free free buffer WARNING: CPU: 0 PID: 5068 at fs/buffer.c:1235 __brelse fs/buffer.c:1235 [inline] WARNING: CPU: 0 PID: 5068 at fs/buffer.c:1235 __brelse+0x6d/0xb0 fs/buffer.c:1229 Modules linked in: CPU: 0 PID: 5068 Comm: syz-executor201 Not tainted 6.7.0-rc7-syzkaller-00041-gf016f7547aee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__brelse fs/buffer.c:1235 [inline] RIP: 0010:__brelse+0x6d/0xb0 fs/buffer.c:1229 Code: 84 d2 75 52 44 8b 63 60 31 ff 44 89 e6 e8 0b 36 89 ff 45 85 e4 75 20 e8 91 3a 89 ff 90 48 c7 c7 c0 8b dd 8a e8 34 7c 4f ff 90 <0f> 0b 90 90 5b 5d 41 5c e9 76 3a 89 ff e8 71 3a 89 ff be 04 00 00 RSP: 0018:ffffc900039af8c8 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff888071dc30e8 RCX: ffffffff814db519 RDX: ffff88801cf75940 RSI: ffffffff814db526 RDI: 0000000000000001 RBP: ffff888071dc3148 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888071dc30e8 R14: dffffc0000000000 R15: ffff8880b983d8c0 FS: 00005555561ba380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff76d1f1b10 CR3: 00000000711fa000 CR4: 0000000000350ef0 Call Trace: brelse include/linux/buffer_head.h:312 [inline] __invalidate_bh_lrus fs/buffer.c:1487 [inline] invalidate_bh_lru+0xa2/0x190 fs/buffer.c:1500 csd_do_func kernel/smp.c:133 [inline] smp_call_function_many_cond+0x1214/0x1550 kernel/smp.c:846 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 invalidate_bdev+0x95/0xd0 block/bdev.c:85 invalidate_disk+0x41/0x110 block/genhd.c:744 __loop_clr_fd+0x259/0x8f0 drivers/block/loop.c:1164 loop_clr_fd drivers/block/loop.c:1257 [inline] lo_ioctl+0x5d8/0x1a50 drivers/block/loop.c:1563 blkdev_ioctl+0x2f3/0x760 block/ioctl.c:633 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fd41f2ea4bb Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffc39ce91f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007fd41f2ea4bb RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004 RBP: 0000000000000004 R08: 00007ffc39ce92a0 R09: 0000000000009e47 R10: 0000000000000404 R11: 0000000000000246 R12: 0000000000000404 R13: 00007ffc39ce92a0 R14: 0000000000000003 R15: 0000000000010000