loop3: detected capacity change from 0 to 32768 ocfs2: Mounting device (7,3) on (node local, slot 0) with writeback data mode. ------------[ cut here ]------------ kernel BUG at fs/ocfs2/aops.c:1181! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 21128 Comm: syz.3.4049 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 2c 91 a3 8b ba 80 04 00 00 48 c7 c1 c0 6b 47 8a e8 ed 77 19 00 0f 0b e8 96 f2 63 fe <0f> 0b e8 8f f2 63 fe 0f 0b e8 88 f2 63 fe 0f 0b e8 81 f2 63 fe 0f RSP: 0018:ffffc9000c47ee60 EFLAGS: 00010283 RAX: ffffffff8313d18a RBX: ffff88807aea2014 RCX: 0000000000080000 RDX: ffffc9000ebbb000 RSI: 0000000000018eb2 RDI: 0000000000018eb3 RBP: ffffc9000c47f190 R08: dffffc0000000000 R09: ffffed100e9489cd R10: ffffed100e9489cd R11: 1ffff1100e9489cc R12: ffff88802ad4c000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807aea2014 FS: 00007f600f5b76c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32eef000 CR3: 0000000079ed1000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000be70000e DR6: 00000000ffff0ff0 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:0x7f601174f9a9 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:00007f600f5b7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f6011976fa0 RCX: 00007f601174f9a9 RDX: 000000000000fdef RSI: 0000200000000140 RDI: 000000000000000a RBP: 00007f60117d1d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000008000c61 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6011976fa0 R15: 00007ffc95414708 Modules linked in: ---[ end trace 42d2e894984fba37 ]--- 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 2c 91 a3 8b ba 80 04 00 00 48 c7 c1 c0 6b 47 8a e8 ed 77 19 00 0f 0b e8 96 f2 63 fe <0f> 0b e8 8f f2 63 fe 0f 0b e8 88 f2 63 fe 0f 0b e8 81 f2 63 fe 0f RSP: 0018:ffffc9000c47ee60 EFLAGS: 00010283 RAX: ffffffff8313d18a RBX: ffff88807aea2014 RCX: 0000000000080000 RDX: ffffc9000ebbb000 RSI: 0000000000018eb2 RDI: 0000000000018eb3 RBP: ffffc9000c47f190 R08: dffffc0000000000 R09: ffffed100e9489cd R10: ffffed100e9489cd R11: 1ffff1100e9489cc R12: ffff88802ad4c000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807aea2014 FS: 00007f600f5b76c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9941053178 CR3: 0000000079ed1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000be70000e DR6: 00000000ffff0ff0 DR7: 0000000000000400