ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. ------------[ cut here ]------------ kernel BUG at fs/ocfs2/refcounttree.c:2952! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 6860 Comm: syz.0.67 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:ocfs2_clear_cow_buffer+0x79/0x80 fs/ocfs2/refcounttree.c:2952 Code: 02 75 21 e8 79 6d d0 fd 48 89 df be 08 00 00 00 e8 ec ca 43 fe f0 80 23 ef 31 c0 5b 41 5e c3 cc cc cc cc cc e8 58 6d d0 fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900063ced18 EFLAGS: 00010293 RAX: ffffffff83f77e48 RBX: ffff88805b75fc60 RCX: ffff888030ccbe80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed100b6ebf8d R12: ffff88805b75fc60 R13: ffff88805b75fd80 R14: 0000000000000002 R15: 0000000000001000 FS: 00007f9a0f4466c0(0000) GS:ffff888124709000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a0f424ff8 CR3: 0000000026980000 CR4: 00000000003526f0 Call Trace: walk_page_buffers+0x94/0x1e0 fs/ocfs2/aops.c:421 ocfs2_duplicate_clusters_by_page+0x70b/0xcd0 fs/ocfs2/refcounttree.c:3031 ocfs2_replace_clusters fs/ocfs2/refcounttree.c:3182 [inline] ocfs2_make_clusters_writable fs/ocfs2/refcounttree.c:3314 [inline] ocfs2_replace_cow+0xaf4/0x1ca0 fs/ocfs2/refcounttree.c:3408 ocfs2_refcount_cow_hunk fs/ocfs2/refcounttree.c:3485 [inline] ocfs2_refcount_cow+0x790/0xd40 fs/ocfs2/refcounttree.c:3528 ocfs2_prepare_inode_for_write fs/ocfs2/file.c:2377 [inline] ocfs2_file_write_iter+0xdb6/0x1ef0 fs/ocfs2/file.c:2494 iter_file_splice_write+0x9fe/0x11c0 fs/splice.c:660 do_splice_from fs/splice.c:863 [inline] direct_splice_actor+0x104/0x160 fs/splice.c:1114 splice_direct_to_actor+0x586/0xcc0 fs/splice.c:1023 do_splice_direct_actor fs/splice.c:1157 [inline] do_splice_direct+0x19b/0x2a0 fs/splice.c:1183 do_sendfile+0x540/0x7e0 fs/read_write.c:1351 __do_sys_sendfile64 fs/read_write.c:1412 [inline] __se_sys_sendfile64+0x144/0x1a0 fs/read_write.c:1398 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9a0fdece59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9a0f446028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f9a10065fa0 RCX: 00007f9a0fdece59 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f9a0fe82e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9a10066038 R14: 00007f9a10065fa0 R15: 00007ffd7a1784d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_clear_cow_buffer+0x79/0x80 fs/ocfs2/refcounttree.c:2952 Code: 02 75 21 e8 79 6d d0 fd 48 89 df be 08 00 00 00 e8 ec ca 43 fe f0 80 23 ef 31 c0 5b 41 5e c3 cc cc cc cc cc e8 58 6d d0 fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900063ced18 EFLAGS: 00010293 RAX: ffffffff83f77e48 RBX: ffff88805b75fc60 RCX: ffff888030ccbe80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed100b6ebf8d R12: ffff88805b75fc60 R13: ffff88805b75fd80 R14: 0000000000000002 R15: 0000000000001000 FS: 00007f9a0f4466c0(0000) GS:ffff888124709000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a0f424ff8 CR3: 0000000026980000 CR4: 00000000003526f0