------------[ cut here ]------------ kernel BUG at fs/ocfs2/uptodate.c:509! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6723 Comm: syz.0.186 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:ocfs2_set_new_buffer_uptodate+0x147/0x160 fs/ocfs2/uptodate.c:509 Code: 03 42 80 3c 20 00 74 0e 48 89 cf 49 89 ce e8 50 38 7c fe 4c 89 f1 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d ff 21 e8 49 ca 24 fe <0f> 0b e8 42 ca 24 fe 0f 0b e8 3b ca 24 fe 0f 0b e8 34 ca 24 fe 0f RSP: 0018:ffffc9000365e5c8 EFLAGS: 00010287 RAX: ffffffff8360c677 RBX: ffff888058695db0 RCX: 0000000000080000 RDX: ffffc9000cd9a000 RSI: 00000000000033ed RDI: 00000000000033ee RBP: 0000000000000001 R08: ffffffff8e4a212f R09: 1ffffffff1c94425 R10: dffffc0000000000 R11: fffffbfff1c94426 R12: 1ffff920006cbcec R13: dffffc0000000000 R14: ffff8880545241d0 R15: ffff8880545241d0 FS: 00007fd18fdbc6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c269b5e CR3: 000000002f9f3000 CR4: 00000000003526f0 Call Trace: ocfs2_extend_dir+0x115a/0x4760 fs/ocfs2/dir.c:3303 ocfs2_prepare_dx_dir_for_insert fs/ocfs2/dir.c:4236 [inline] ocfs2_prepare_dir_for_insert+0x3d44/0x5480 fs/ocfs2/dir.c:4298 ocfs2_mknod+0x818/0x20f0 fs/ocfs2/namei.c:294 ocfs2_create+0x196/0x410 fs/ocfs2/namei.c:674 lookup_open fs/namei.c:3496 [inline] open_last_lookups fs/namei.c:3564 [inline] path_openat+0x1277/0x3190 fs/namei.c:3794 do_filp_open+0x1c5/0x3d0 fs/namei.c:3824 do_sys_openat2+0x12c/0x1c0 fs/open.c:1421 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1447 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd18ef8f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd18fdbc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd18f1e5fa0 RCX: 00007fd18ef8f749 RDX: 0000000000000441 RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007fd18f013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000014a R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd18f1e6038 R14: 00007fd18f1e5fa0 R15: 00007ffeba40cb28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_set_new_buffer_uptodate+0x147/0x160 fs/ocfs2/uptodate.c:509 Code: 03 42 80 3c 20 00 74 0e 48 89 cf 49 89 ce e8 50 38 7c fe 4c 89 f1 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d ff 21 e8 49 ca 24 fe <0f> 0b e8 42 ca 24 fe 0f 0b e8 3b ca 24 fe 0f 0b e8 34 ca 24 fe 0f RSP: 0018:ffffc9000365e5c8 EFLAGS: 00010287 RAX: ffffffff8360c677 RBX: ffff888058695db0 RCX: 0000000000080000 RDX: ffffc9000cd9a000 RSI: 00000000000033ed RDI: 00000000000033ee RBP: 0000000000000001 R08: ffffffff8e4a212f R09: 1ffffffff1c94425 R10: dffffc0000000000 R11: fffffbfff1c94426 R12: 1ffff920006cbcec R13: dffffc0000000000 R14: ffff8880545241d0 R15: ffff8880545241d0 FS: 00007fd18fdbc6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d51eff8 CR3: 000000002f9f3000 CR4: 00000000003526f0