INFO: task hung in jbd2_journal_stop (4)

Status: auto-obsoleted due to no activity on 2026/11/27 09:13
Subsystems: ext4
Labels: prio:low
[Documentation on labels]
First crash: 81d, last: 60d
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
51171086 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ INFO: task hung in jbd2_journal_stop (4) 2026/09/09 00:01 2026/09/09 00:01 2026/09/09 00:48 243b72f1
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in jbd2_journal_stop (3) ext4 1 1 1855d 1855d 0/30 auto-closed as invalid on 2022/01/27 16:52
upstream INFO: task hung in jbd2_journal_stop ext4 1 1 3158d 3158d 8/30 fixed on 2018/07/09 18:05
upstream INFO: task hung in jbd2_journal_stop (2) ext4 1 1 3058d 3057d 0/30 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
INFO: task syz-executor:16236 blocked for more than 144 seconds.
      Tainted: G             L       syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:22376 pid:16236 tgid:16236 ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5535 [inline]
 __schedule+0x1b47/0x5c60 kernel/sched/core.c:7305
 __schedule_loop kernel/sched/core.c:7382 [inline]
 schedule+0x164/0x2b0 kernel/sched/core.c:7397
 jbd2_log_wait_commit+0x2c5/0x4d0 fs/jbd2/journal.c:687
 jbd2_journal_stop+0x86c/0xdd0 fs/jbd2/transaction.c:2017
 __ext4_journal_stop+0xf2/0x330 fs/ext4/ext4_jbd2.c:144
 ext4_mkdir+0x459/0xce0 fs/ext4/namei.c:3055
 vfs_mkdir+0x40e/0x630 fs/namei.c:5421
 filename_mkdirat+0x285/0x510 fs/namei.c:5454
 __do_sys_mkdirat fs/namei.c:5475 [inline]
 __se_sys_mkdirat+0x35/0x150 fs/namei.c:5472
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f74bb99cfc7
RSP: 002b:00007ffe318703e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f74bba34aaf RCX: 00007f74bb99cfc7
RDX: 00000000000001ff RSI: 00007f74bba34aaf RDI: 00000000ffffff9c
RBP: 00007f74bbc267b8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
R13: 0000000000000003 R14: 00007ffe31870658 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
locks held by khungtaskd/34: 1, last CPU#0:
 #0: ffffffff8ed5c2a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #0: ffffffff8ed5c2a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #0: ffffffff8ed5c2a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871
locks held by getty/5365: 2, on CPU#0:
 #0: ffff88803627d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000322b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211
locks held by syz-executor/16236: 2, on CPU#0:
 #0: ffff8880363ca460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:494
 #1: ffff8880760f7950 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1069 [inline]
 #1: ffff8880760f7950 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: __start_dirop fs/namei.c:2918 [inline]
 #1: ffff8880760f7950 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: start_dirop fs/namei.c:2942 [inline]
 #1: ffff8880760f7950 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: filename_create+0x200/0x370 fs/namei.c:5101
locks held by syz-executor/16693: 3, on CPU#0:
 #0: ffff8880363ca460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:494
 #1: ffff888034e8de20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1069 [inline]
 #1: ffff888034e8de20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: __start_dirop fs/namei.c:2918 [inline]
 #1: ffff888034e8de20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: start_dirop fs/namei.c:2942 [inline]
 #1: ffff888034e8de20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: filename_create+0x200/0x370 fs/namei.c:5101
 #2: ffff8880363d6938 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1fb0/0x21f0 fs/jbd2/transaction.c:444
locks held by syz-executor/16930: 2, on CPU#0:
 #0: ffff8880363ca460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:494
 #1: ffff888034e8de20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1069 [inline]
 #1: ffff888034e8de20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: __start_dirop fs/namei.c:2918 [inline]
 #1: ffff888034e8de20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: start_dirop fs/namei.c:2942 [inline]
 #1: ffff888034e8de20 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: filename_create+0x200/0x370 fs/namei.c:5101

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 Comm: khungtaskd Tainted: G             L       syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123
 nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66
 trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline]
 __sys_info lib/sys_info.c:157 [inline]
 sys_info+0x135/0x170 lib/sys_info.c:165
 check_hung_uninterruptible_tasks kernel/hung_task.c:377 [inline]
 watchdog+0x1058/0x10d0 kernel/hung_task.c:598
 kthread+0x38b/0x480 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/28 09:13 linux-next f5f84daefcd9 a3c7249d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in jbd2_journal_stop
2026/09/07 10:07 linux-next 9d80aa4617b3 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in jbd2_journal_stop
* Struck through repros no longer work on HEAD.