syzbot
WARNING in jbd2_journal_dirty_metadata (3)
Status:
upstream: reported on 2026/04/22 22:44
Subsystems:
ext4
Labels:
prio:high
[Documentation on labels]
Reported-by: syzbot+a5f824f1c49dd97fcff0@syzkaller.appspotmail.com
First crash: 98d, last: 5d21h
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.
=======================================================
JBD2: Ignoring recovery information on journal
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
------------[ cut here ]------------
jbd2_handle_buffer_credits(handle) <= 0
WARNING: fs/jbd2/transaction.c:1598 at jbd2_journal_dirty_metadata+0xb3b/0xea0 fs/jbd2/transaction.c:1598, CPU#0: syz.0.0/5329
Modules linked in:
CPU: 0 UID: 0 PID: 5329 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:jbd2_journal_dirty_metadata+0xb3b/0xea0 fs/jbd2/transaction.c:1598
Code: 44 24 28 44 8b 00 48 c7 c7 00 83 06 8c 89 de 44 89 ea 4c 89 f1 e8 e5 26 85 fe b8 ea ff ff ff e9 62 fd ff ff e8 06 e9 23 ff 90 <0f> 0b 90 b8 e4 ff ff ff e9 4f fd ff ff 44 89 e9 80 e1 07 80 c1 03
RSP: 0018:ffffc9000e56e660 EFLAGS: 00010246
RAX: ffffffff82a298ca RBX: 1ffff1100a82240d RCX: 0000000000100000
RDX: ffffc9000ef02000 RSI: 00000000000fffff RDI: 0000000000100000
RBP: ffff888054112070 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001cadcbc R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880130081c0
FS: 00007f403ecdf6c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8364d2b684 CR3: 000000001fd64000 CR4: 0000000000352ef0
Call Trace:
<TASK>
ocfs2_journal_dirty+0x130/0x6f0 fs/ocfs2/journal.c:835
ocfs2_alloc_dinode_update_counts+0x16e/0x2d0 fs/ocfs2/suballoc.c:1768
ocfs2_search_chain+0xe76/0x1e50 fs/ocfs2/suballoc.c:2024
ocfs2_claim_suballoc_bits+0x901/0x1f40 fs/ocfs2/suballoc.c:2135
__ocfs2_claim_clusters+0x31d/0x970 fs/ocfs2/suballoc.c:2562
ocfs2_make_clusters_writable fs/ocfs2/refcounttree.c:3248 [inline]
ocfs2_replace_cow+0x982/0x1c90 fs/ocfs2/refcounttree.c:3351
ocfs2_refcount_cow_hunk fs/ocfs2/refcounttree.c:3429 [inline]
ocfs2_refcount_cow+0x790/0xd40 fs/ocfs2/refcounttree.c:3472
ocfs2_prepare_inode_for_write fs/ocfs2/file.c:2352 [inline]
ocfs2_file_write_iter+0xf26/0x1f10 fs/ocfs2/file.c:2463
iter_file_splice_write+0xa31/0x1240 fs/splice.c:736
do_splice_from fs/splice.c:936 [inline]
direct_splice_actor+0x101/0x160 fs/splice.c:1159
splice_direct_to_actor+0x57b/0xcb0 fs/splice.c:1103
do_splice_direct_actor fs/splice.c:1202 [inline]
do_splice_direct+0x195/0x290 fs/splice.c:1228
do_sendfile+0x52e/0x7c0 fs/read_write.c:1371
__do_sys_sendfile64 fs/read_write.c:1432 [inline]
__se_sys_sendfile64+0x144/0x1a0 fs/read_write.c:1418
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f403dd9de99
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:00007f403ecdefe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f403e025fa0 RCX: 00007f403dd9de99
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004
RBP: 00007f403de33eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f403e026038 R14: 00007f403e025fa0 R15: 00007ffe9f92f268
</TASK>
* Struck through repros no longer work on HEAD.