loop6: detected capacity change from 0 to 32768 ocfs2: Mounting device (7,6) on (node local, slot 0) with writeback data mode. ------------[ cut here ]------------ kernel BUG at fs/ocfs2/aops.c:1180! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 13140 Comm: syz.6.1569 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x1c75/0x1ca0 fs/ocfs2/aops.c:1241 Code: 4c 8b 03 48 8d bc 24 10 02 00 00 48 c7 c6 4a e7 62 8c ba 7f 04 00 00 48 c7 c1 40 8c e9 8a e8 92 3b 1a 00 0f 0b e8 eb 48 39 fe <0f> 0b e8 e4 48 39 fe 0f 0b e8 dd 48 39 fe 0f 0b e8 d6 48 39 fe 0f RSP: 0018:ffffc900036ceec0 EFLAGS: 00010283 RAX: ffffffff834c46a5 RBX: ffff88823bd52014 RCX: 0000000000080000 RDX: ffffc9000dbcc000 RSI: 000000000001dcb2 RDI: 000000000001dcb3 RBP: ffffc900036cf1f0 R08: ffff88805d621563 R09: 1ffff1100bac42ac R10: dffffc0000000000 R11: ffffed100bac42ad R12: ffff88805e494000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88823bd52014 FS: 00007fa936e346c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000194 CR3: 000000007ce05000 CR4: 00000000003506e0 Call Trace: ocfs2_write_begin_nolock+0x2fcb/0x4190 fs/ocfs2/aops.c:1817 ocfs2_write_begin+0x1bc/0x310 fs/ocfs2/aops.c:1904 generic_perform_write+0x2fb/0x5b0 mm/filemap.c:4016 ocfs2_file_write_iter+0x1582/0x1d00 fs/ocfs2/file.c:2468 call_write_iter include/linux/fs.h:2018 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x43b/0x940 fs/read_write.c:584 ksys_write+0x147/0x250 fs/read_write.c:637 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:0x7fa935f8f6c9 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:00007fa936e34038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa9361e5fa0 RCX: 00007fa935f8f6c9 RDX: 000000000000045c RSI: 0000200000000440 RDI: 0000000000000007 RBP: 00007fa936011f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa9361e6038 R14: 00007fa9361e5fa0 R15: 00007ffef1c2c188 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x1c75/0x1ca0 fs/ocfs2/aops.c:1241 Code: 4c 8b 03 48 8d bc 24 10 02 00 00 48 c7 c6 4a e7 62 8c ba 7f 04 00 00 48 c7 c1 40 8c e9 8a e8 92 3b 1a 00 0f 0b e8 eb 48 39 fe <0f> 0b e8 e4 48 39 fe 0f 0b e8 dd 48 39 fe 0f 0b e8 d6 48 39 fe 0f RSP: 0018:ffffc900036ceec0 EFLAGS: 00010283 RAX: ffffffff834c46a5 RBX: ffff88823bd52014 RCX: 0000000000080000 RDX: ffffc9000dbcc000 RSI: 000000000001dcb2 RDI: 000000000001dcb3 RBP: ffffc900036cf1f0 R08: ffff88805d621563 R09: 1ffff1100bac42ac R10: dffffc0000000000 R11: ffffed100bac42ad R12: ffff88805e494000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88823bd52014 FS: 00007fa936e346c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d524220 CR3: 000000007ce05000 CR4: 00000000003506e0