------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:1387! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5052 Comm: syz.6.159 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1387 [inline] pc : ocfs2_claim_suballoc_bits+0x1ba8/0x1d84 fs/ocfs2/suballoc.c:1927 lr : ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1387 [inline] lr : ocfs2_claim_suballoc_bits+0x1ba8/0x1d84 fs/ocfs2/suballoc.c:1927 sp : ffff80001ff06320 x29: ffff80001ff06580 x28: 1ffff00003fe0c98 x27: ffff700003fe0c7c x26: 0000000000000000 x25: ffff80001ff063e0 x24: dfff800000000000 x23: 1fffe0001cc82706 x22: 0000000000000100 x21: ffff80001ff063e0 x20: 0000000000000000 x19: ffff0000ec55eec6 x18: 0000000000000000 x17: 0000000000000002 x16: ffff800011b4eaf8 x15: 00000000fffffffc x14: ffff0000c8c08000 x13: 0000000000ff0100 x12: 0000000000080000 x11: 000000000001cab4 x10: ffff80002c4b9000 x9 : 000000000001cab5 x8 : ffff800009f085c4 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff80001ff068d0 x4 : ffff80001ff06640 x3 : 0000000000000100 x2 : 0000000000000100 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1387 [inline] ocfs2_claim_suballoc_bits+0x1ba8/0x1d84 fs/ocfs2/suballoc.c:1927 __ocfs2_claim_clusters+0x294/0x8c4 fs/ocfs2/suballoc.c:2338 ocfs2_claim_clusters+0x8c/0xc4 fs/ocfs2/suballoc.c:2375 ocfs2_local_alloc_new_window fs/ocfs2/localalloc.c:1170 [inline] ocfs2_local_alloc_slide_window fs/ocfs2/localalloc.c:1299 [inline] ocfs2_reserve_local_alloc_bits+0x1014/0x2474 fs/ocfs2/localalloc.c:668 ocfs2_reserve_clusters_with_limit+0x194/0xabc fs/ocfs2/suballoc.c:1162 ocfs2_reserve_clusters fs/ocfs2/suballoc.c:1223 [inline] ocfs2_lock_allocators+0x294/0x584 fs/ocfs2/suballoc.c:2669 ocfs2_write_begin_nolock+0x2274/0x3e1c fs/ocfs2/aops.c:1741 ocfs2_write_begin+0x1ac/0x38c fs/ocfs2/aops.c:1905 generic_perform_write+0x24c/0x520 mm/filemap.c:3785 __generic_file_write_iter+0x230/0x454 mm/filemap.c:3912 ocfs2_file_write_iter+0x1540/0x1e60 fs/ocfs2/file.c:2472 call_write_iter include/linux/fs.h:2174 [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 Code: d4210000 9796ef8e d4210000 9796ef8c (d4210000) ---[ end trace bd036ca70e4af8a4 ]---