loop0: detected capacity change from 0 to 64 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5858 at fs/buffer.c:1081 mark_buffer_dirty+0x330/0x624 fs/buffer.c:1081 Modules linked in: CPU: 0 PID: 5858 Comm: syz.0.255 Not tainted 6.1.112-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+0x330/0x624 fs/buffer.c:1081 lr : mark_buffer_dirty+0x330/0x624 fs/buffer.c:1081 sp : ffff800021467550 x29: ffff800021467550 x28: ffff0000fbfe4400 x27: ffff0000f7313c00 x26: ffff0000d7514530 x25: ffff0000fb712018 x24: ffff0000df148910 x23: ffff0000d7411bc8 x22: ffff0000fb712160 x21: ffff0000d7514540 x20: 0000000000000010 x19: ffff0000df148910 x18: ffff8000214671e0 x17: ffff800018aa5000 x16: ffff8000121e34c0 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000040000 x11: 00000000000057e1 x10: ffff800027439000 x9 : ffff800008b3d9f4 x8 : 00000000000057e2 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff0000f7313e00 x4 : ffff0000fbfe4600 x3 : ffff800008b3d6f4 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: mark_buffer_dirty+0x330/0x624 fs/buffer.c:1081 bfs_move_block fs/bfs/file.c:43 [inline] bfs_move_blocks fs/bfs/file.c:56 [inline] bfs_get_block+0x6f4/0x9b4 fs/bfs/file.c:125 __block_write_begin_int+0x340/0x13b4 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0x98/0x11c fs/buffer.c:2102 bfs_write_begin+0x48/0xec fs/bfs/file.c:177 generic_perform_write+0x278/0x55c mm/filemap.c:3817 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3945 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:3977 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x91c fs/read_write.c:584 ksys_write+0x15c/0x26c fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 2892 hardirqs last enabled at (2891): [] bh_lru_install fs/buffer.c:1258 [inline] hardirqs last enabled at (2891): [] __find_get_block+0xcd0/0xeec fs/buffer.c:1309 hardirqs last disabled at (2892): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2840): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (2840): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (2819): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]---