syzbot
kernel BUG in jbd2_journal_dirty_metadata
Status:
upstream: reported on 2026/07/28 10:54
Reported-by: syzbot+647e02d51a727ab84a4e@syzkaller.appspotmail.com
First crash: 18d, last: 18d
Sample crash report:
(syz.4.82,4902,0):ocfs2_xa_prepare_entry:2155 ERROR: status = -30
(syz.4.82,4902,0):ocfs2_xa_set:2258 ERROR: status = -30
------------[ cut here ]------------
kernel BUG at fs/jbd2/transaction.c:1527!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4902 Comm: syz.4.82 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:jbd2_journal_dirty_metadata+0xca1/0xd70 fs/jbd2/transaction.c:1526
Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c cb fb ff ff 48 89 df 48 89 d5 e8 cc c1 99 ff 48 89 ea e9 b8 fb ff ff e8 0f 95 48 ff <0f> 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4d fc ff ff 48 89 df e8
RSP: 0018:ffffc900033d6c70 EFLAGS: 00010287
RAX: ffffffff82399ee1 RBX: ffff888024fa4700 RCX: 0000000000080000
RDX: ffffc90010771000 RSI: 000000000001ef92 RDI: 000000000001ef93
RBP: 1ffff1100e86b400 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200067ad7c R12: 1ffff110049f48df
R13: 1ffff1100a82e596 R14: ffff888054172cb0 R15: 1ffff110049f48e0
FS: 00007f2242dd56c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f22213e1000 CR3: 000000007c31e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ocfs2_journal_dirty+0x152/0x680 fs/ocfs2/journal.c:820
ocfs2_xa_journal_dirty fs/ocfs2/xattr.c:1457 [inline]
ocfs2_xa_set+0x16f6/0x2fb0 fs/ocfs2/xattr.c:2267
ocfs2_xattr_block_set+0x3d1/0x2ff0 fs/ocfs2/xattr.c:2989
__ocfs2_xattr_set_handle+0x6b6/0xf20 fs/ocfs2/xattr.c:3391
ocfs2_xattr_set+0xf18/0x1390 fs/ocfs2/xattr.c:3654
__vfs_setxattr+0x3d8/0x410 fs/xattr.c:182
__vfs_setxattr_noperm+0x126/0x5e0 fs/xattr.c:216
vfs_setxattr+0x167/0x2e0 fs/xattr.c:309
do_setxattr fs/xattr.c:594 [inline]
setxattr+0x2a3/0x330 fs/xattr.c:617
path_setxattr+0x147/0x290 fs/xattr.c:636
__do_sys_setxattr fs/xattr.c:652 [inline]
__se_sys_setxattr fs/xattr.c:648 [inline]
__x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:648
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2244b9de99
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:00007f2242dd5028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f2244e26180 RCX: 00007f2244b9de99
RDX: 0000200000000280 RSI: 0000200000000140 RDI: 0000200000000100
RBP: 00007f2244c33eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2244e26218 R14: 00007f2244e26180 R15: 00007fffcc0a5738
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jbd2_journal_dirty_metadata+0xca1/0xd70 fs/jbd2/transaction.c:1526
Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c cb fb ff ff 48 89 df 48 89 d5 e8 cc c1 99 ff 48 89 ea e9 b8 fb ff ff e8 0f 95 48 ff <0f> 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4d fc ff ff 48 89 df e8
RSP: 0018:ffffc900033d6c70 EFLAGS: 00010287
RAX: ffffffff82399ee1 RBX: ffff888024fa4700 RCX: 0000000000080000
RDX: ffffc90010771000 RSI: 000000000001ef92 RDI: 000000000001ef93
RBP: 1ffff1100e86b400 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200067ad7c R12: 1ffff110049f48df
R13: 1ffff1100a82e596 R14: ffff888054172cb0 R15: 1ffff110049f48e0
FS: 00007f2242dd56c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f22213e1000 CR3: 000000007c31e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.