loop0: detected capacity change from 0 to 64 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4380 at fs/buffer.c:1084 mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 Modules linked in: CPU: 1 PID: 4380 Comm: syz.0.51 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 : ffff8000228e7500 x29: ffff8000228e7500 x28: ffff0000e9204200 x27: ffff0000e9205600 x26: ffff0000dc5d8008 x25: ffff0000dd25c018 x24: ffff0000dc5df2b8 x23: ffff0000e72a0488 x22: ffff0000dd25c160 x21: ffff0000dc5d8018 x20: 0000000000000010 x19: ffff0000dc5df2b8 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000082ec9a8 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000040000 x11: 000000000000c10b x10: ffff800020db9000 x9 : 000000000000c10c x8 : ffff800008a76f00 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff0000e9205800 x4 : ffff0000e9204400 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: 6680 hardirqs last enabled at (6679): [] bh_lru_install fs/buffer.c:1261 [inline] hardirqs last enabled at (6679): [] __find_get_block+0xb68/0xdd4 fs/buffer.c:1312 hardirqs last disabled at (6680): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (6640): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (6640): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (6597): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (6597): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (6597): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (6597): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace eed268faba8f422b ]---