------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:1443! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5359 Comm: syz.0.0 Not tainted 6.17.0-rc1-syzkaller-00004-g53e760d89498 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1443 [inline] RIP: 0010:ocfs2_claim_suballoc_bits+0x243c/0x2450 fs/ocfs2/suballoc.c:1996 Code: c2 fb ff ff e8 e5 27 17 fe 90 0f 0b e8 dd 27 17 fe 90 0f 0b e8 d5 27 17 fe 90 0f 0b e8 cd 27 17 fe 90 0f 0b e8 c5 27 17 fe 90 <0f> 0b e8 bd 27 17 fe 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 RSP: 0018:ffffc9000d5653c0 EFLAGS: 00010293 RAX: ffffffff83a8939b RBX: 0000000000000000 RCX: ffff888000790000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d565650 R08: ffffc9000d5656e0 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880527e2088 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100a4fc411 FS: 00007fb723a8b6c0(0000) GS:ffff88808d211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f29f63b2000 CR3: 0000000042ae5000 CR4: 0000000000352ef0 Call Trace: __ocfs2_claim_clusters+0x303/0x8f0 fs/ocfs2/suballoc.c:2421 ocfs2_local_alloc_new_window fs/ocfs2/localalloc.c:1166 [inline] ocfs2_local_alloc_slide_window fs/ocfs2/localalloc.c:1295 [inline] ocfs2_reserve_local_alloc_bits+0x12be/0x24e0 fs/ocfs2/localalloc.c:669 ocfs2_reserve_clusters_with_limit+0x1be/0xba0 fs/ocfs2/suballoc.c:1168 ocfs2_convert_inline_data_to_extents+0x1c9/0x1230 fs/ocfs2/alloc.c:7098 ocfs2_try_to_write_inline_data fs/ocfs2/aops.c:1542 [inline] ocfs2_write_begin_nolock+0x178d/0x4340 fs/ocfs2/aops.c:1649 ocfs2_write_begin+0x1bb/0x310 fs/ocfs2/aops.c:1884 generic_perform_write+0x2c2/0x900 mm/filemap.c:4175 ocfs2_file_write_iter+0x157a/0x1d10 fs/ocfs2/file.c:2469 __kernel_write_iter+0x425/0x910 fs/read_write.c:619 __kernel_write+0xef/0x150 fs/read_write.c:639 __dump_emit+0x206/0x310 fs/coredump.c:1218 writenote+0x1be/0x2e0 fs/binfmt_elf.c:1417 write_note_info fs/binfmt_elf.c:1905 [inline] elf_core_dump+0x2e1b/0x3990 fs/binfmt_elf.c:2072 coredump_write+0x1169/0x1900 fs/coredump.c:1049 vfs_coredump+0x1a4b/0x2ab0 fs/coredump.c:1168 get_signal+0x1109/0x1340 kernel/signal.c:3019 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:40 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] ret_from_fork+0x47f/0x770 arch/x86/kernel/process.c:157 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1443 [inline] RIP: 0010:ocfs2_claim_suballoc_bits+0x243c/0x2450 fs/ocfs2/suballoc.c:1996 Code: c2 fb ff ff e8 e5 27 17 fe 90 0f 0b e8 dd 27 17 fe 90 0f 0b e8 d5 27 17 fe 90 0f 0b e8 cd 27 17 fe 90 0f 0b e8 c5 27 17 fe 90 <0f> 0b e8 bd 27 17 fe 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 RSP: 0018:ffffc9000d5653c0 EFLAGS: 00010293 RAX: ffffffff83a8939b RBX: 0000000000000000 RCX: ffff888000790000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d565650 R08: ffffc9000d5656e0 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880527e2088 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100a4fc411 FS: 00007fb723a8b6c0(0000) GS:ffff88808d211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f29f63b2000 CR3: 0000000042ae5000 CR4: 0000000000352ef0