syzbot


kernel BUG in jbd2_journal_dirty_metadata

Status: upstream: reported on 2026/07/15 17:30
Reported-by: syzbot+8236fc14102a4694f23a@syzkaller.appspotmail.com
First crash: 2d09h, last: 1d05h
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in jbd2_journal_dirty_metadata ocfs2 prio:normal -1 C 81 100d 681d 0/29 upstream: reported C repro on 2024/09/04 04:50
android-5-15 kernel BUG in jbd2_journal_dirty_metadata -1 C 1 1308d 1308d 0/2 closed as invalid on 2023/04/06 12:24

Sample crash report:
(syz.2.106,6277,1):ocfs2_xa_prepare_entry:2151 ERROR: status = -30
(syz.2.106,6277,1):ocfs2_xa_set:2254 ERROR: status = -30
JBD2: assertion failure: h_type=0 h_line_no=0 block_no=19025 jlist=0
------------[ cut here ]------------
kernel BUG at fs/jbd2/transaction.c:1524!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6277 Comm: syz.2.106 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
RIP: 0010:jbd2_journal_dirty_metadata+0xd21/0xd70 fs/jbd2/transaction.c:1523
Code: f4 96 ff e9 3c fc ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 8d fc ff ff 48 89 df e8 59 f4 96 ff e9 80 fc ff ff e8 8f 7c 3e ff <0f> 0b e8 88 7c 3e ff 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 3a
RSP: 0018:ffffc900051b6d10 EFLAGS: 00010287
RAX: ffffffff824868e1 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc9000db3d000 RSI: 0000000000019c83 RDI: 0000000000019c84
RBP: 0000000000000000 R08: ffffc900051b6907 R09: 1ffff92000a36d20
R10: dffffc0000000000 R11: fffff52000a36d21 R12: 1ffff1100601c49f
R13: 0000000000000000 R14: ffff8880300e24fc R15: ffff88805dcc0e98
FS:  00007f09a2abd6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3a18f47440 CR3: 000000002e43c000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 ocfs2_journal_dirty+0x12e/0x6c0 fs/ocfs2/journal.c:834
 ocfs2_xa_journal_dirty fs/ocfs2/xattr.c:1453 [inline]
 ocfs2_xa_set+0x15a1/0x2e40 fs/ocfs2/xattr.c:2263
 ocfs2_xattr_block_set+0x3c7/0x2dc0 fs/ocfs2/xattr.c:2985
 __ocfs2_xattr_set_handle+0x6b9/0xf30 fs/ocfs2/xattr.c:3387
 ocfs2_xattr_set+0xf1c/0x13a0 fs/ocfs2/xattr.c:3650
 __vfs_setxattr+0x437/0x470 fs/xattr.c:201
 __vfs_setxattr_noperm+0x12a/0x5e0 fs/xattr.c:235
 vfs_setxattr+0x16b/0x2f0 fs/xattr.c:322
 do_setxattr fs/xattr.c:630 [inline]
 path_setxattr+0x33a/0x590 fs/xattr.c:659
 __do_sys_setxattr fs/xattr.c:677 [inline]
 __se_sys_setxattr fs/xattr.c:673 [inline]
 __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:673
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f09a1b9de59
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:00007f09a2abd028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f09a1e25fa0 RCX: 00007f09a1b9de59
RDX: 0000200000000280 RSI: 0000200000000140 RDI: 0000200000000100
RBP: 00007f09a1c33e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000027 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f09a1e26038 R14: 00007f09a1e25fa0 R15: 00007ffee9752688
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jbd2_journal_dirty_metadata+0xd21/0xd70 fs/jbd2/transaction.c:1523
Code: f4 96 ff e9 3c fc ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 8d fc ff ff 48 89 df e8 59 f4 96 ff e9 80 fc ff ff e8 8f 7c 3e ff <0f> 0b e8 88 7c 3e ff 0f 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 3a
RSP: 0018:ffffc900051b6d10 EFLAGS: 00010287
RAX: ffffffff824868e1 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc9000db3d000 RSI: 0000000000019c83 RDI: 0000000000019c84
RBP: 0000000000000000 R08: ffffc900051b6907 R09: 1ffff92000a36d20
R10: dffffc0000000000 R11: fffff52000a36d21 R12: 1ffff1100601c49f
R13: 0000000000000000 R14: ffff8880300e24fc R15: ffff88805dcc0e98
FS:  00007f09a2abd6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3a18f47440 CR3: 000000002e43c000 CR4: 00000000003506e0

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/16 21:47 linux-6.6.y da47cbc25466 71b49442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in jbd2_journal_dirty_metadata
2026/07/16 21:44 linux-6.6.y da47cbc25466 71b49442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in jbd2_journal_dirty_metadata
2026/07/15 17:30 linux-6.6.y da47cbc25466 a4ed0f4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in jbd2_journal_dirty_metadata
* Struck through repros no longer work on HEAD.