------------[ cut here ]------------ kernel BUG at fs/ocfs2/uptodate.c:509! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 7939 Comm: syz.5.232 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : ocfs2_set_new_buffer_uptodate+0x14c/0x188 fs/ocfs2/uptodate.c:509 lr : ocfs2_set_new_buffer_uptodate+0x14c/0x188 fs/ocfs2/uptodate.c:509 sp : ffff80009dfa63c0 x29: ffff80009dfa63c0 x28: ffff700013bf4ca4 x27: ffff0000fabf5200 x26: 0000000000000000 x25: ffff0000e4d98830 x24: ffff0000e4d98878 x23: ffff0000f798f570 x22: ffff0000c1613d98 x21: 0000000000000001 x20: ffff0000f798f570 x19: ffff0000e4d98830 x18: 1fffe0003379be88 x17: ffff800093507000 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe0001c9b30e4 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000002d92 x9 : ffff8000b3461000 x8 : 0000000000002d93 x7 : ffff800082145038 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800080535a88 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: ocfs2_set_new_buffer_uptodate+0x14c/0x188 fs/ocfs2/uptodate.c:509 (P) ocfs2_extend_dir+0xd58/0x3964 fs/ocfs2/dir.c:3309 ocfs2_prepare_dx_dir_for_insert fs/ocfs2/dir.c:4232 [inline] ocfs2_prepare_dir_for_insert+0x33ec/0x4664 fs/ocfs2/dir.c:4288 ocfs2_mknod+0x6ec/0x1cf0 fs/ocfs2/namei.c:297 ocfs2_create+0x190/0x474 fs/ocfs2/namei.c:676 lookup_open fs/namei.c:3708 [inline] open_last_lookups fs/namei.c:3807 [inline] path_openat+0x12d8/0x2c40 fs/namei.c:4043 do_filp_open+0x18c/0x36c fs/namei.c:4073 do_sys_openat2+0x11c/0x1b4 fs/open.c:1435 __do_sys_openat2 fs/open.c:1493 [inline] __se_sys_openat2 fs/open.c:1469 [inline] __arm64_sys_openat2+0x314/0x3e4 fs/open.c:1469 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: a8c47bfd d50323bf d65f03c0 97948bb7 (d4210000) ---[ end trace 0000000000000000 ]---