syzbot


kernel BUG in jbd2_journal_dirty_metadata

Status: upstream: reported C repro on 2024/09/04 04:50
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+c28d8da3e83b3cc68dc6@syzkaller.appspotmail.com
First crash: 363d, last: 34d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ext4?] kernel BUG in jbd2_journal_dirty_metadata 2 (5) 2024/10/29 05:25
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 kernel BUG in jbd2_journal_dirty_metadata -1 C 1 986d 986d 0/2 closed as invalid on 2023/04/06 12:24
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/08/26 15:47 20m retest repro upstream OK log
2025/08/09 12:58 22m retest repro upstream OK log
2025/06/17 15:08 16m retest repro upstream report log
2025/05/19 17:31 14m retest repro upstream report log
2025/04/08 12:30 14m retest repro upstream report log
2024/12/30 07:29 13m retest repro upstream report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/jbd2/transaction.c:1512!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 6026 Comm: syz.0.1 Not tainted 6.14.0-rc5-syzkaller-00039-g848e07631744 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:jbd2_journal_dirty_metadata+0xa81/0xd60 fs/jbd2/transaction.c:1512
Code: 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 7c 02 00 00 4c 39 6b 70 0f 84 be f6 ff ff e8 20 8c 34 ff 90 <0f> 0b e8 18 8c 34 ff 48 8d 7d 18 48 b8 00 00 00 00 00 fc ff df 48
RSP: 0018:ffffc9000464f040 EFLAGS: 00010283
RAX: 000000000007f5f8 RBX: ffff88807a26b000 RCX: ffffc9000ed84000
RDX: 0000000000080000 RSI: ffffffff82856500 RDI: ffffc9000464efd0
RBP: ffff8880567b49f8 R08: 0000000000000001 R09: fffff520008c9dfa
R10: 0000000000000003 R11: 000000000000003e R12: ffff88803415fd68
R13: ffff88807a26aa00 R14: ffff88807a26b068 R15: ffff88807a26b070
FS:  00007f59c67f66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe7ef90fe8 CR3: 0000000032690000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 ocfs2_journal_dirty+0xff/0x6a0 fs/ocfs2/journal.c:812
 ocfs2_xa_journal_dirty fs/ocfs2/xattr.c:1453 [inline]
 ocfs2_xa_set+0xb19/0x33b0 fs/ocfs2/xattr.c:2263
 ocfs2_xattr_block_set+0x2b7/0x790 fs/ocfs2/xattr.c:2985
 __ocfs2_xattr_set_handle+0x371/0xf70 fs/ocfs2/xattr.c:3387
 ocfs2_xattr_set+0x134f/0x2a30 fs/ocfs2/xattr.c:3650
 __vfs_setxattr+0x176/0x1e0 fs/xattr.c:200
 __vfs_setxattr_noperm+0x127/0x660 fs/xattr.c:234
 __vfs_setxattr_locked+0x182/0x260 fs/xattr.c:295
 vfs_setxattr+0x146/0x360 fs/xattr.c:321
 do_setxattr+0x142/0x170 fs/xattr.c:636
 filename_setxattr+0x16d/0x1d0 fs/xattr.c:665
 path_setxattrat+0x1e0/0x290 fs/xattr.c:713
 __do_sys_setxattr fs/xattr.c:747 [inline]
 __se_sys_setxattr fs/xattr.c:743 [inline]
 __x64_sys_setxattr+0xc6/0x140 fs/xattr.c:743
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f59c898d169
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:00007f59c67f6038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f59c8ba6160 RCX: 00007f59c898d169
RDX: 0000400000000080 RSI: 0000400000000180 RDI: 00004000000001c0
RBP: 00007f59c8a0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f59c8ba6160 R15: 00007ffeed021ab8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jbd2_journal_dirty_metadata+0xa81/0xd60 fs/jbd2/transaction.c:1512
Code: 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 7c 02 00 00 4c 39 6b 70 0f 84 be f6 ff ff e8 20 8c 34 ff 90 <0f> 0b e8 18 8c 34 ff 48 8d 7d 18 48 b8 00 00 00 00 00 fc ff df 48
RSP: 0018:ffffc9000464f040 EFLAGS: 00010283
RAX: 000000000007f5f8 RBX: ffff88807a26b000 RCX: ffffc9000ed84000
RDX: 0000000000080000 RSI: ffffffff82856500 RDI: ffffc9000464efd0
RBP: ffff8880567b49f8 R08: 0000000000000001 R09: fffff520008c9dfa
R10: 0000000000000003 R11: 000000000000003e R12: ffff88803415fd68
R13: ffff88807a26aa00 R14: ffff88807a26b068 R15: ffff88807a26b070
FS:  00007f59c67f66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe7ef90fe8 CR3: 0000000032690000 CR4: 0000000000350ef0

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/06 18:33 upstream 848e07631744 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in jbd2_journal_dirty_metadata
2025/07/26 12:43 upstream 5f33ebd2018c fb8f743d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/07/21 07:34 upstream 89be9a83ccf1 7117feec .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/07/18 16:42 upstream 6832a9317eee 7117feec .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/06/28 14:35 upstream aaf724ed6926 fc9d8ee5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/06/20 04:10 upstream 24770983ccfe ed3e87f7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/06/01 05:43 upstream 4cb6c8af8591 3d2f584d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/05/31 08:51 upstream 8477ab143069 3d2f584d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/05/19 20:08 upstream a5806cd506af 27f68995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/05/05 17:19 upstream 92a09c47464d 6ca47dd8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/05/02 00:22 upstream 4f79eaa2ceac 51b137cd .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1 (corrupt fs)] [mounted in repro #2 (clean fs)] [mounted in repro #3] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/04/30 15:39 upstream b6ea1680d0ac 937aafd7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/04/21 02:21 upstream 6fea5fabd332 2a20f901 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/04/20 18:18 upstream 6fea5fabd332 2a20f901 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/04/18 07:20 upstream b5c6891b2c5b 2a20f901 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/04/16 09:14 upstream 1a1d569a75f3 a95239b1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/03/25 01:36 upstream 38fec10eb60d 875573af .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/03/25 00:06 upstream 38fec10eb60d 875573af .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/03/17 06:16 upstream 4701f33a1070 948c34e4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/03/15 22:59 upstream 3571e8b091f4 e2826670 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/03/15 11:15 upstream 83158b21ae9a e2826670 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/03/12 07:00 upstream 0b46b049d6ec ee70e6db .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/02/27 07:34 upstream 5394eea10651 6a8fcbc4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/02/19 19:40 upstream 6537cfb395f3 cbd8edab .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2025/02/01 01:54 upstream 69e858e0b8b2 aa47157c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/12/30 11:08 upstream fc033cf25e61 d3ccff63 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/12/16 07:28 upstream dccbe2047a5b 7cbfbb3a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/12/16 07:23 upstream dccbe2047a5b 7cbfbb3a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/12/15 12:24 upstream 2d8308bf5b67 7cbfbb3a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/12/14 22:56 upstream a446e965a188 7cbfbb3a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/12/13 03:38 upstream 150b567e0d57 3547e30f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/12/07 23:07 upstream 7503345ac5f5 9ac0fdc6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/12/06 03:38 upstream 5076001689e4 946d28f0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/11/28 19:47 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/11/24 19:08 upstream 9f16d5e6f220 68da6d95 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/11/19 07:59 upstream 9fb2cfa4635a 571351cb .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/11/18 15:06 upstream adc218676eef e7bb5d6e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/11/12 10:20 upstream 2d5404caa8c7 75bb1b32 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/10/30 16:07 upstream c1e939a21eb1 f3a00767 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/10/29 10:12 upstream e42b1a9a2557 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/10/29 05:24 upstream e42b1a9a2557 66aeb999 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/10/29 04:24 upstream e42b1a9a2557 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/09/09 15:50 upstream da3ea35007d0 8f722c94 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
2024/08/31 04:44 upstream fb24560f31f9 1eda0d14 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in jbd2_journal_dirty_metadata
* Struck through repros no longer work on HEAD.