loop0: detected capacity change from 0 to 64 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4016 at fs/buffer.c:1084 mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 Modules linked in: CPU: 0 PID: 4016 Comm: syz-executor221 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 : ffff800020247500 x29: ffff800020247500 x28: ffff0000dcfcb400 x27: ffff0001892abc00 x26: ffff0000dc2b0530 x25: ffff0000ca8bc018 x24: ffff0000e1c582b8 x23: ffff0000e1c560e8 x22: ffff0000ca8bc160 x21: ffff0000dc2b0540 x20: 0000000000000010 x19: ffff0000e1c582b8 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082ec9a8 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000caf48000 x8 : ffff800008a76f00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff0001892abe00 x4 : ffff0000dcfcb600 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: 3366 hardirqs last enabled at (3365): [] bh_lru_install fs/buffer.c:1261 [inline] hardirqs last enabled at (3365): [] __find_get_block+0xb68/0xdd4 fs/buffer.c:1312 hardirqs last disabled at (3366): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (3154): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (3154): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (3145): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (3145): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (3145): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (3145): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 4c7c1b54354cd518 ]---