------------[ cut here ]------------ kernel BUG at fs/ocfs2/aops.c:1181! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4410 Comm: syz.4.12 Not tainted 5.15.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1181 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x1cda/0x1d00 fs/ocfs2/aops.c:1242 Code: 4c 8b 03 48 8d bc 24 10 02 00 00 48 c7 c6 61 a5 a2 8b ba 80 04 00 00 48 c7 c1 80 81 47 8a e8 ed 77 19 00 0f 0b e8 26 de 62 fe <0f> 0b e8 1f de 62 fe 0f 0b e8 18 de 62 fe 0f 0b e8 11 de 62 fe 0f RSP: 0000:ffffc900034bee60 EFLAGS: 00010283 RAX: ffffffff8314e4ea RBX: ffff888023366014 RCX: 0000000000080000 RDX: ffffc9000f226000 RSI: 000000000000e867 RDI: 000000000000e868 RBP: ffffc900034bf190 R08: dffffc0000000000 R09: ffffed100bd370e5 R10: ffffed100bd370e5 R11: 1ffff1100bd370e4 R12: ffff888060628000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888023366014 FS: 00007f057f1c86c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0576e2b000 CR3: 000000005b918000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_write_begin_nolock+0x3057/0x4180 fs/ocfs2/aops.c:1818 ocfs2_write_begin+0x1ab/0x300 fs/ocfs2/aops.c:1905 generic_perform_write+0x2aa/0x530 mm/filemap.c:3785 __generic_file_write_iter+0x25f/0x4e0 mm/filemap.c:3912 ocfs2_file_write_iter+0x1578/0x1cf0 fs/ocfs2/file.c:2472 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x712/0xd00 fs/read_write.c:594 ksys_pwrite64 fs/read_write.c:701 [inline] __do_sys_pwrite64 fs/read_write.c:711 [inline] __se_sys_pwrite64 fs/read_write.c:708 [inline] __x64_sys_pwrite64+0x194/0x220 fs/read_write.c:708 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0581381929 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:00007f057f1c8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f05815a9080 RCX: 00007f0581381929 RDX: 0000000000000001 RSI: 0000200000000140 RDI: 0000000000000005 RBP: 00007f0581403b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008000c61 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f05815a9080 R15: 00007fffc5796fe8 Modules linked in: ---[ end trace bba04d2dd914a0ec ]--- RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1181 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x1cda/0x1d00 fs/ocfs2/aops.c:1242 Code: 4c 8b 03 48 8d bc 24 10 02 00 00 48 c7 c6 61 a5 a2 8b ba 80 04 00 00 48 c7 c1 80 81 47 8a e8 ed 77 19 00 0f 0b e8 26 de 62 fe <0f> 0b e8 1f de 62 fe 0f 0b e8 18 de 62 fe 0f 0b e8 11 de 62 fe 0f RSP: 0000:ffffc900034bee60 EFLAGS: 00010283 RAX: ffffffff8314e4ea RBX: ffff888023366014 RCX: 0000000000080000 RDX: ffffc9000f226000 RSI: 000000000000e867 RDI: 000000000000e868 RBP: ffffc900034bf190 R08: dffffc0000000000 R09: ffffed100bd370e5 R10: ffffed100bd370e5 R11: 1ffff1100bd370e4 R12: ffff888060628000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888023366014 FS: 00007f057f1c86c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff2a883fc8 CR3: 000000005b918000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400