loop4: detected capacity change from 0 to 64 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5156 at fs/buffer.c:1084 mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 Modules linked in: CPU: 1 PID: 5156 Comm: syz.4.291 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 lr : mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 sp : ffff8000205b7500 x29: ffff8000205b7500 x28: ffff0000e867a400 x27: ffff0000eeea2c00 x26: ffff0000e65c0530 x25: ffff0000ce816018 x24: ffff0000e669e488 x23: ffff0000e669c2b8 x22: ffff0000ce816160 x21: ffff0000e65c0540 x20: 0000000000000010 x19: ffff0000e669e488 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000082ec9a8 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000040000 x11: 0000000000004769 x10: ffff800022f1a000 x9 : 000000000000476a x8 : ffff800008a76f00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff0000eeea2e00 x4 : ffff0000e867a600 x3 : ffff800008a76c44 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 bfs_move_block fs/bfs/file.c:43 [inline] bfs_move_blocks fs/bfs/file.c:56 [inline] bfs_get_block+0x6fc/0xa34 fs/bfs/file.c:125 __block_write_begin_int+0x3ec/0x1608 fs/buffer.c:2012 __block_write_begin fs/buffer.c:2062 [inline] block_write_begin+0x60/0xdc fs/buffer.c:2122 bfs_write_begin+0x50/0xf4 fs/bfs/file.c:177 generic_perform_write+0x24c/0x520 mm/filemap.c:3785 __generic_file_write_iter+0x230/0x454 mm/filemap.c:3912 generic_file_write_iter+0xb4/0x1b8 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x884/0xb44 fs/read_write.c:594 ksys_write+0x15c/0x26c fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:656 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2568 hardirqs last enabled at (2567): [] bh_lru_install fs/buffer.c:1261 [inline] hardirqs last enabled at (2567): [] __find_get_block+0xb68/0xdd4 fs/buffer.c:1312 hardirqs last disabled at (2568): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (2538): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (2536): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace e635a1d9a52e7108 ]---