syzbot


WARNING in __jbd2_log_wait_for_space

Status: auto-obsoleted due to no activity on 2026/06/19 21:00
Subsystems: ocfs2 ext4
[Documentation on labels]
Reported-by: syzbot+04ae2c9e709a347f1a81@syzkaller.appspotmail.com
First crash: 546d, last: 221d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in __jbd2_log_wait_for_space (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 93ce0ff117b0c468961d7c296a03ad57e1e8da9f
Author: Deepanshu Kartikey <kartikey406@gmail.com>
Date: Thu Oct 30 15:30:03 2025 +0000

  ocfs2: validate cl_bpc in allocator inodes to prevent divide-by-zero

  
✨ AI Jobs (4)
ID Workflow Result Correct Bug Created Started Finished Revision Error
da9f3e99-fe95-47b1-b889-e2a72605cbe8 assessment-security 💥 WARNING in __jbd2_log_wait_for_space 2026/06/14 01:34 2026/06/14 01:34 2026/06/14 01:34 4f06757f683a802254a4c8edbfe67ff801904c5e
failed to run ["git" "-c" "core.hooksPath=/dev/null" "fetch" "--force" "--tags" "433dfd5a8a5d80bbf0669b14e9ed908911a52dd6" "573067a5a685c238d90270ffb6efae6b26c72fed"]: exit status 128
fatal: remote er...
truncated to first 200 bytes; open job for full error
b1e3e017-8586-4c62-9c8f-a2c9ae69053f assessment-security 💥 WARNING in __jbd2_log_wait_for_space 2026/06/09 16:48 2026/06/09 16:48 2026/06/09 16:48 c36c07f6c1f2230a36374cbd22235f635e8f9284
failed to run ["git" "-c" "core.hooksPath=/dev/null" "fetch" "--force" "--tags" "433dfd5a8a5d80bbf0669b14e9ed908911a52dd6" "573067a5a685c238d90270ffb6efae6b26c72fed"]: exit status 128
fatal: remote er...
truncated to first 200 bytes; open job for full error
7a740d76-0aef-4d08-ab31-68ca1105391e assessment-security 💥 WARNING in __jbd2_log_wait_for_space 2026/06/02 11:22 2026/06/02 11:22 2026/06/02 11:22 1095583bae1d2729a3b4be301cb6ddc85ced9e38
failed to run ["git" "-c" "core.hooksPath=/dev/null" "fetch" "--force" "--tags" "433dfd5a8a5d80bbf0669b14e9ed908911a52dd6" "573067a5a685c238d90270ffb6efae6b26c72fed"]: exit status 128
fatal: remote er...
truncated to first 200 bytes; open job for full error
4e347620-3765-4a4b-aa2a-f3886fc087a6 assessment-security 💥 WARNING in __jbd2_log_wait_for_space 2026/05/24 12:17 2026/05/24 12:17 2026/05/24 12:17 c69befb30ac10e158cc9d1557b508ee3f0eca1de
failed to run ["git" "-c" "core.hooksPath=/dev/null" "fetch" "--force" "--tags" "433dfd5a8a5d80bbf0669b14e9ed908911a52dd6" "573067a5a685c238d90270ffb6efae6b26c72fed"]: exit status 128
fatal: remote er...
truncated to first 200 bytes; open job for full error
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ext4?] [ocfs2?] WARNING in __jbd2_log_wait_for_space 0 (2) 2025/12/24 00:32
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/06/19 14:18 4h08m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2026/06/19 14:18 30m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2026/04/09 05:27 35m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error
2026/04/09 05:27 24m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error
2026/01/29 02:39 28m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error
2026/01/29 01:59 46m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error
2026/01/29 01:59 29m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error
2026/01/14 08:11 1h27m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2025/12/31 00:17 20m retest repro upstream OK log
2025/12/09 11:04 23m retest repro upstream OK log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2025/12/23 18:00 6h30m bisect fix upstream OK (1) job log
2025/07/20 02:28 1h42m bisect fix upstream OK (0) job log log
2025/06/02 18:35 2h15m bisect fix upstream OK (0) job log log
2025/05/01 12:38 4h08m bisect fix upstream OK (0) job log log
2025/03/05 12:24 1h46m bisect fix upstream OK (0) job log log

Sample crash report:
__jbd2_log_wait_for_space: needed 5461 blocks and only had 1246 space available
__jbd2_log_wait_for_space: no way to get more journal space in loop0-75
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5817 at fs/jbd2/checkpoint.c:115 __jbd2_log_wait_for_space+0x3d5/0x490 fs/jbd2/checkpoint.c:115
Modules linked in:
CPU: 0 UID: 0 PID: 5817 Comm: syz-executor398 Not tainted 6.13.0-rc5-syzkaller-00161-g63676eefb7a0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__jbd2_log_wait_for_space+0x3d5/0x490 fs/jbd2/checkpoint.c:115
Code: eb 8c 08 8e 48 8b 54 24 20 44 89 f1 e8 94 88 99 fe 48 c7 c7 20 d0 1e 8c 48 c7 c6 eb 8c 08 8e 48 8b 54 24 50 e8 7c 88 99 fe 90 <0f> 0b 90 4c 89 e7 be fb ff ff ff e8 bb 2d 01 00 e9 31 ff ff ff 89
RSP: 0018:ffffc90003d8f420 EFLAGS: 00010246
RAX: 0000000000000047 RBX: 0000000000000001 RCX: efcf8edf72869d00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff817f0a2c R09: 1ffff110170c519a
R10: dffffc0000000000 R11: ffffed10170c519b R12: ffff888023c96000
R13: dffffc0000000000 R14: 00000000000004de R15: ffff888023c96690
FS:  000055555c971380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd62004f88 CR3: 0000000032006000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 add_transaction_credits fs/jbd2/transaction.c:283 [inline]
 start_this_handle+0x10d1/0x2110 fs/jbd2/transaction.c:407
 jbd2__journal_start+0x2da/0x5d0 fs/jbd2/transaction.c:505
 jbd2_journal_start+0x29/0x40 fs/jbd2/transaction.c:544
 ocfs2_start_trans+0x3c9/0x700 fs/ocfs2/journal.c:352
 ocfs2_shutdown_local_alloc+0x218/0xa90 fs/ocfs2/localalloc.c:417
 ocfs2_dismount_volume+0x202/0x910 fs/ocfs2/super.c:1877
 generic_shutdown_super+0x139/0x2d0 fs/super.c:642
 kill_block_super+0x44/0x90 fs/super.c:1710
 deactivate_locked_super+0xc4/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373
 task_work_run+0x24f/0x310 kernel/task_work.c:239
 ptrace_notify+0x2d2/0x380 kernel/signal.c:2503
 ptrace_report_syscall include/linux/ptrace.h:415 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:477 [inline]
 syscall_exit_work+0xc7/0x1d0 kernel/entry/common.c:173
 syscall_exit_to_user_mode_prepare kernel/entry/common.c:200 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:205 [inline]
 syscall_exit_to_user_mode+0x24a/0x340 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f747d7b1347
Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffd620051e8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f747d7b1347
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd620052a0
RBP: 00007ffd620052a0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffd62006300
R13: 000055555c9726c0 R14: 0000000000000001 R15: 431bde82d7b634db
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/04 18:32 upstream 63676eefb7a0 f3558dbf .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in __jbd2_log_wait_for_space
2025/07/29 22:35 upstream 86aa72182095 ba28e0a8 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root WARNING in __jbd2_log_wait_for_space
2024/12/30 05:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 d3ccff63 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in __jbd2_log_wait_for_space
2024/12/30 04:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 d3ccff63 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in __jbd2_log_wait_for_space
2024/12/30 04:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 d3ccff63 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in __jbd2_log_wait_for_space
2024/12/30 03:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __jbd2_log_wait_for_space
* Struck through repros no longer work on HEAD.