------------[ cut here ]------------ kernel BUG at fs/ocfs2/aops.c:1178! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 UID: 0 PID: 13231 Comm: syz.8.1694 Not tainted 6.12.0-next-20241122-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1178 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x207b/0x20b0 fs/ocfs2/aops.c:1239 Code: 03 48 8d bc 24 30 02 00 00 48 c7 c6 58 98 0c 8e ba 7d 04 00 00 48 c7 c1 00 27 47 8c e8 5e 9d 1d 00 90 0f 0b e8 d6 84 17 fe 90 <0f> 0b e8 ce 84 17 fe 90 0f 0b e8 c6 84 17 fe 90 0f 0b e8 be 84 17 RSP: 0018:ffffc900045c6e40 EFLAGS: 00010246 RAX: ffffffff8387f53a RBX: ffff8880594fcfe0 RCX: 0000000000080000 RDX: ffffc9001f409000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900045c7190 R08: ffffffff8387dbee R09: 1ffff1100b29f9cc R10: dffffc0000000000 R11: ffffed100b29f9cd R12: 0000000000000000 R13: ffff888047d40000 R14: ffff8880594fcfb8 R15: 0000000000000000 FS: 00007fb6b34036c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020601000 CR3: 000000007b4c4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_write_begin_nolock+0x3a2f/0x4ec0 fs/ocfs2/aops.c:1815 ocfs2_write_begin+0x205/0x3a0 fs/ocfs2/aops.c:1902 generic_perform_write+0x344/0x6d0 mm/filemap.c:4055 ocfs2_file_write_iter+0x19c8/0x21b0 fs/ocfs2/file.c:2469 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb6b257e819 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:00007fb6b3403038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb6b2735fa0 RCX: 00007fb6b257e819 RDX: 000000000208e24b RSI: 0000000020000240 RDI: 0000000000000006 RBP: 00007fb6b25f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb6b2735fa0 R15: 00007ffff160e528 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1178 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x207b/0x20b0 fs/ocfs2/aops.c:1239 Code: 03 48 8d bc 24 30 02 00 00 48 c7 c6 58 98 0c 8e ba 7d 04 00 00 48 c7 c1 00 27 47 8c e8 5e 9d 1d 00 90 0f 0b e8 d6 84 17 fe 90 <0f> 0b e8 ce 84 17 fe 90 0f 0b e8 c6 84 17 fe 90 0f 0b e8 be 84 17 RSP: 0018:ffffc900045c6e40 EFLAGS: 00010246 RAX: ffffffff8387f53a RBX: ffff8880594fcfe0 RCX: 0000000000080000 RDX: ffffc9001f409000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900045c7190 R08: ffffffff8387dbee R09: 1ffff1100b29f9cc R10: dffffc0000000000 R11: ffffed100b29f9cd R12: 0000000000000000 R13: ffff888047d40000 R14: ffff8880594fcfb8 R15: 0000000000000000 FS: 00007fb6b34036c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14995dc668 CR3: 000000007b4c4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400