------------[ cut here ]------------ WARNING: CPU: 0 PID: 5114 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: 5114 Comm: syz.0.0 Not tainted 6.11.0-rc7-syzkaller-00020-g8d8d276ba2fb #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 06 ec 45 09 48 83 c4 20 90 0f 0b 90 bb ea ff ff ff e9 26 fe ff ff e8 df de 22 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:ffffc90002e5ef18 EFLAGS: 00010287 RAX: ffffffff8270add1 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b899000 RSI: 000000000002af83 RDI: 000000000002af84 RBP: 1ffff11007b3dbea R08: ffffffff8270a9fa R09: fffff520005cbdd4 R10: dffffc0000000000 R11: fffff520005cbdd4 R12: dffffc0000000000 R13: ffff8880005210c0 R14: 1ffff110000a4218 R15: ffff88803d9edf00 FS: 00007fe538bde6c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020180000 CR3: 0000000033e52000 CR4: 0000000000350ef0 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_insert_refcount_rec fs/ocfs2/refcounttree.c:1799 [inline] __ocfs2_increase_refcount+0xf49/0x2a90 fs/ocfs2/refcounttree.c:2033 ocfs2_add_refcount_flag+0xad4/0x1150 fs/ocfs2/refcounttree.c:3709 ocfs2_reflink_remap_extent fs/ocfs2/refcounttree.c:4542 [inline] ocfs2_reflink_remap_blocks+0xe58/0x1f30 fs/ocfs2/refcounttree.c:4669 ocfs2_remap_file_range+0x600/0x8e0 fs/ocfs2/file.c:2724 vfs_copy_file_range+0xc1f/0x1530 fs/read_write.c:1522 __do_sys_copy_file_range fs/read_write.c:1612 [inline] __se_sys_copy_file_range+0x3f2/0x5d0 fs/read_write.c:1575 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:0x7fe538d7def9 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:00007fe538bde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146 RAX: ffffffffffffffda RBX: 00007fe538f36058 RCX: 00007fe538d7def9 RDX: 0000000000000006 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fe538df09f6 R08: 000000000000d000 R09: 0000000000000000 R10: 0000000020000640 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fe538f36058 R15: 00007ffcb8e15728