------------[ cut here ]------------ WARNING: CPU: 0 PID: 6037 at fs/buffer.c:1081 mark_buffer_dirty+0x330/0x624 fs/buffer.c:1081 Modules linked in: CPU: 0 PID: 6037 Comm: syz.2.385 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 : ffff800021ea7550 x29: ffff800021ea7550 x28: ffff000187d7bc00 x27: ffff0000e0e1e000 x26: ffff0000e3328530 x25: ffff0000ce9bc018 x24: ffff0000df319bc8 x23: ffff0000e33b2570 x22: ffff0000ce9bc160 x21: ffff0000e3328540 x20: 0000000000000010 x19: ffff0000df319bc8 x18: 0000000000000150 x17: ffff8000159cd000 x16: ffff8000121e34c0 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000040000 x11: 0000000000017d69 x10: ffff800021b1a000 x9 : ffff800008b3d9f4 x8 : 0000000000017d6a x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff0000e0e1e200 x4 : ffff000187d7be00 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: 2496 hardirqs last enabled at (2495): [] bh_lru_install fs/buffer.c:1258 [inline] hardirqs last enabled at (2495): [] __find_get_block+0xcd0/0xeec fs/buffer.c:1309 hardirqs last disabled at (2496): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2074): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2072): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---