loop1: detected capacity change from 0 to 32768 ocfs2: Mounting device (7,1) on (node local, slot 0) with writeback data mode. ------------[ cut here ]------------ kernel BUG at fs/ocfs2/aops.c:1159! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 6338 Comm: syz.1.66 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1159 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x1cc1/0x1cf0 fs/ocfs2/aops.c:1219 Code: 03 48 8d bc 24 10 02 00 00 48 c7 c6 6b 6c 07 8d ba 6a 04 00 00 48 c7 c1 00 e5 49 8b e8 48 51 1b 00 90 0f 0b e8 70 b4 2f fe 90 <0f> 0b e8 68 b4 2f fe 90 0f 0b e8 60 b4 2f fe 90 0f 0b e8 58 b4 2f RSP: 0018:ffffc90009a7e4e0 EFLAGS: 00010287 RAX: ffffffff838ea7e0 RBX: ffff88805ef44014 RCX: 0000000000080000 RDX: ffffc9000d759000 RSI: 0000000000000cba RDI: 0000000000000cbb RBP: ffffc90009a7e810 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1e3a8a7 R12: ffff88803cafc000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88805ef44014 FS: 00007fc046d766c0(0000) GS:ffff8881269c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f889baf1bfb CR3: 00000000369c4000 CR4: 00000000003526f0 Call Trace: ocfs2_write_begin_nolock+0x31a3/0x4340 fs/ocfs2/aops.c:1796 ocfs2_dio_wr_get_block+0xb6f/0x1770 fs/ocfs2/aops.c:2214 get_more_blocks fs/direct-io.c:648 [inline] do_direct_IO fs/direct-io.c:936 [inline] __blockdev_direct_IO+0x1579/0x31f0 fs/direct-io.c:1243 ocfs2_direct_IO+0x260/0x2d0 fs/ocfs2/aops.c:2441 generic_file_direct_write+0x1dc/0x3e0 mm/filemap.c:4109 __generic_file_write_iter+0x120/0x240 mm/filemap.c:4278 ocfs2_file_write_iter+0x157d/0x1d20 fs/ocfs2/file.c:2469 iter_file_splice_write+0x977/0x10f0 fs/splice.c:738 do_splice_from fs/splice.c:938 [inline] direct_splice_actor+0x101/0x160 fs/splice.c:1161 splice_direct_to_actor+0x5b0/0xcd0 fs/splice.c:1105 do_splice_direct_actor fs/splice.c:1204 [inline] do_splice_direct+0x187/0x270 fs/splice.c:1230 do_sendfile+0x4ec/0x7f0 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc048b0ebe9 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:00007fc046d76038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc048d35fa0 RCX: 00007fc048b0ebe9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005 RBP: 00007fc048b91e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc048d36038 R14: 00007fc048d35fa0 R15: 00007ffebf071c78 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1159 [inline] RIP: 0010:ocfs2_write_cluster_by_desc+0x1cc1/0x1cf0 fs/ocfs2/aops.c:1219 Code: 03 48 8d bc 24 10 02 00 00 48 c7 c6 6b 6c 07 8d ba 6a 04 00 00 48 c7 c1 00 e5 49 8b e8 48 51 1b 00 90 0f 0b e8 70 b4 2f fe 90 <0f> 0b e8 68 b4 2f fe 90 0f 0b e8 60 b4 2f fe 90 0f 0b e8 58 b4 2f RSP: 0018:ffffc90009a7e4e0 EFLAGS: 00010287 RAX: ffffffff838ea7e0 RBX: ffff88805ef44014 RCX: 0000000000080000 RDX: ffffc9000d759000 RSI: 0000000000000cba RDI: 0000000000000cbb RBP: ffffc90009a7e810 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1e3a8a7 R12: ffff88803cafc000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88805ef44014 FS: 00007fc046d766c0(0000) GS:ffff8881269c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f889baf1bfb CR3: 00000000369c4000 CR4: 00000000003526f0