------------[ cut here ]------------ WARNING: CPU: 0 PID: 5349 at fs/jbd2/transaction.c:1556 jbd2_journal_dirty_metadata+0x8b2/0xc00 fs/jbd2/transaction.c:1556 Modules linked in: CPU: 0 UID: 0 PID: 5349 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:jbd2_journal_dirty_metadata+0x8b2/0xc00 fs/jbd2/transaction.c:1556 Code: 8b 44 24 08 49 89 e9 50 41 55 53 41 57 e8 a6 d0 58 09 48 83 c4 20 90 0f 0b 90 bb ea ff ff ff e9 26 fe ff ff e8 bf 37 2a ff 90 <0f> 0b 90 bb e4 ff ff ff e9 13 fe ff ff 89 d9 80 e1 07 80 c1 03 38 RSP: 0018:ffffc9000d3267b8 EFLAGS: 00010283 RAX: ffffffff826ba851 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc9000f4ac000 RSI: 0000000000001d79 RDI: 0000000000001d7a RBP: 1ffff1100863fe82 R08: ffffffff826ba47a R09: fffff52001a64ce8 R10: dffffc0000000000 R11: fffff52001a64ce8 R12: dffffc0000000000 R13: ffff8880447557f8 R14: 1ffff110088eaaff R15: ffff8880431ff3c0 FS: 00007ff2201fe6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff2153ff000 CR3: 0000000041e7c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_journal_dirty+0x156/0x7c0 fs/ocfs2/journal.c:812 ocfs2_add_branch fs/ocfs2/alloc.c:1325 [inline] ocfs2_grow_tree+0x2761/0x37d0 fs/ocfs2/alloc.c:1585 ocfs2_split_and_insert+0x421/0x1690 fs/ocfs2/alloc.c:4943 ocfs2_split_extent+0x1319/0x2020 fs/ocfs2/alloc.c:5125 ocfs2_change_extent_flag+0xa70/0xda0 fs/ocfs2/alloc.c:5222 ocfs2_mark_extent_refcounted fs/ocfs2/refcounttree.c:2348 [inline] ocfs2_add_refcount_flag+0x89b/0x1150 fs/ocfs2/refcounttree.c:3695 ocfs2_reflink_remap_extent fs/ocfs2/refcounttree.c:4557 [inline] ocfs2_reflink_remap_blocks+0xe58/0x1f30 fs/ocfs2/refcounttree.c:4684 ocfs2_remap_file_range+0x5fa/0x8d0 fs/ocfs2/file.c:2736 vfs_copy_file_range+0xc07/0x1510 fs/read_write.c:1584 __do_sys_copy_file_range fs/read_write.c:1670 [inline] __se_sys_copy_file_range+0x3fa/0x600 fs/read_write.c:1637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff22077e819 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:00007ff2201fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146 RAX: ffffffffffffffda RBX: 00007ff220936160 RCX: 00007ff22077e819 RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000009 RBP: 00007ff2207f175e R08: 0000000000003df1 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff220936160 R15: 00007ffc8d877978