syzbot


WARNING in jbd2_journal_dirty_metadata

Status: upstream: reported on 2024/09/09 11:08
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+5cdc66c11e7bf43a9931@syzkaller.appspotmail.com
First crash: 76d, last: 1h20m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ext4?] WARNING in jbd2_journal_dirty_metadata 0 (1) 2024/09/09 11:08

Sample crash report:
loop0: detected capacity change from 0 to 32768
=======================================================
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
(syz.0.0,5326,0):ocfs2_dio_end_io:2424 ERROR: Direct IO failed, bytes = -28
raw-gadget.0 gadget.0: fail, usb_ep_enable returned -22
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5326 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: 5326 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-01892-g8f7c8b88bda4 #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 16 6a 50 09 48 83 c4 20 90 0f 0b 90 bb ea ff ff ff e9 26 fe ff ff e8 cf 6f 1e 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:ffffc9000d226f38 EFLAGS: 00010283
RAX: ffffffff82766e61 RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc9000e6ba000 RSI: 0000000000002066 RDI: 0000000000002067
RBP: 1ffff110035496be R08: ffffffff82766a8a R09: fffff52001a44dd8
R10: dffffc0000000000 R11: fffff52001a44dd8 R12: dffffc0000000000
R13: ffff8880123f0c70 R14: 1ffff1100247e18e R15: ffff88801aa4b5a0
FS:  00007f54d33106c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000042156000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_journal_dirty+0x156/0x7c0 fs/ocfs2/journal.c:812
 ocfs2_insert_refcount_rec fs/ocfs2/refcounttree.c:1793 [inline]
 __ocfs2_increase_refcount+0xf49/0x2a90 fs/ocfs2/refcounttree.c:2027
 ocfs2_add_refcount_flag+0xad4/0x1150 fs/ocfs2/refcounttree.c:3703
 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:0x7f54d257e819
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:00007f54d3310038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146
RAX: ffffffffffffffda RBX: 00007f54d2735fa0 RCX: 00007f54d257e819
RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000009
RBP: 00007f54d25f175e R08: 0000000000003df1 R09: f13d010000000000
R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f54d2735fa0 R15: 00007ffed8ae2588
 </TASK>

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/21 05:27 upstream 8f7c8b88bda4 4b25d554 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/11/18 09:23 upstream adc218676eef cfe3a04a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/11/14 14:18 upstream 0a9b9d17f3a7 77f3eeb7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/11/06 16:51 upstream 2e1b3cc9d7f7 7b852900 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/11/06 06:44 upstream 2e1b3cc9d7f7 3a465482 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/11/02 07:08 upstream 11066801dd4b f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/10/29 14:28 upstream e42b1a9a2557 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/20 06:26 upstream 2004cef11ea0 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/12 11:34 upstream 7c6a3a65ace7 d94c83d8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/11 23:12 upstream 7c6a3a65ace7 ede7a22c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/11 05:28 upstream 8d8d276ba2fb 8ab55d0e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/11 04:28 upstream 8d8d276ba2fb 8ab55d0e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/09 14:39 upstream da3ea35007d0 8f722c94 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/09 14:39 upstream da3ea35007d0 8f722c94 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/07 03:40 upstream b31c44928842 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
2024/09/05 10:59 upstream c763c4339688 36ae3a26 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in jbd2_journal_dirty_metadata
* Struck through repros no longer work on HEAD.