syzbot


INFO: task hung in jbd2_journal_stop (3)

Status: auto-closed as invalid on 2022/01/27 16:52
Subsystems: ext4
[Documentation on labels]
First crash: 906d, last: 906d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in jbd2_journal_stop ext4 1 2210d 2209d 8/26 fixed on 2018/07/09 18:05
upstream INFO: task hung in jbd2_journal_stop (2) ext4 1 2110d 2108d 0/26 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
INFO: task syz-executor.1:1339 blocked for more than 429 seconds.
      Not tainted 5.15.0-rc1-syzkaller-00001-g64a19591a293 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:    0 pid: 1339 ppid:  2225 flags:0x00000004
Call Trace:
[<ffffffff82bdaf8a>] context_switch kernel/sched/core.c:4940 [inline]
[<ffffffff82bdaf8a>] __schedule+0x506/0x1048 kernel/sched/core.c:6287
[<ffffffff82bdbb32>] schedule+0x66/0x168 kernel/sched/core.c:6366
[<ffffffff80727aa2>] jbd2_log_wait_commit+0x1f8/0x2b8 fs/jbd2/journal.c:712
[<ffffffff807141a8>] jbd2_journal_stop+0x392/0x8c4 fs/jbd2/transaction.c:1932
[<ffffffff80627d44>] __ext4_journal_stop+0x90/0x154 fs/ext4/ext4_jbd2.c:127
[<ffffffff806ae964>] ext4_symlink+0x388/0x7e8 fs/ext4/namei.c:3365
[<ffffffff8044e360>] vfs_symlink fs/namei.c:4250 [inline]
[<ffffffff8044e360>] vfs_symlink+0x29c/0x394 fs/namei.c:4235
[<ffffffff80459b4c>] do_symlinkat+0x1a6/0x1d2 fs/namei.c:4279
[<ffffffff80459bb6>] __do_sys_symlinkat fs/namei.c:4296 [inline]
[<ffffffff80459bb6>] sys_symlinkat+0x3e/0x4c fs/namei.c:4293
[<ffffffff8000519c>] ret_from_syscall+0x0/0x2
INFO: task syz-executor.0:1340 blocked for more than 429 seconds.
      Not tainted 5.15.0-rc1-syzkaller-00001-g64a19591a293 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:    0 pid: 1340 ppid:  2009 flags:0x00000004
Call Trace:
[<ffffffff82bdaf8a>] context_switch kernel/sched/core.c:4940 [inline]
[<ffffffff82bdaf8a>] __schedule+0x506/0x1048 kernel/sched/core.c:6287
[<ffffffff82bdbb32>] schedule+0x66/0x168 kernel/sched/core.c:6366
[<ffffffff80727aa2>] jbd2_log_wait_commit+0x1f8/0x2b8 fs/jbd2/journal.c:712
[<ffffffff807141a8>] jbd2_journal_stop+0x392/0x8c4 fs/jbd2/transaction.c:1932
[<ffffffff80627d44>] __ext4_journal_stop+0x90/0x154 fs/ext4/ext4_jbd2.c:127
[<ffffffff806ae964>] ext4_symlink+0x388/0x7e8 fs/ext4/namei.c:3365
[<ffffffff8044e360>] vfs_symlink fs/namei.c:4250 [inline]
[<ffffffff8044e360>] vfs_symlink+0x29c/0x394 fs/namei.c:4235
[<ffffffff80459b4c>] do_symlinkat+0x1a6/0x1d2 fs/namei.c:4279
[<ffffffff80459bb6>] __do_sys_symlinkat fs/namei.c:4296 [inline]
[<ffffffff80459bb6>] sys_symlinkat+0x3e/0x4c fs/namei.c:4293
[<ffffffff8000519c>] ret_from_syscall+0x0/0x2

Showing all locks held in the system:
1 lock held by khungtaskd/28:
 #0: ffffffff83d2b3e8 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x32/0x1fa kernel/locking/lockdep.c:6448
2 locks held by getty/1957:
 #0: ffffffe00daad098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x48 drivers/tty/tty_ldsem.c:340
 #1: ffffffd0107f52e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x9a0/0xafa drivers/tty/n_tty.c:2113
1 lock held by syz-executor.1/3696:
 #0: ffffffe009d08650 (sb_internal){.+.+}-{0:0}, at: evict+0x18a/0x344 fs/inode.c:586
1 lock held by syz-executor.1/3717:
 #0: ffffffe009d08650 (sb_internal){.+.+}-{0:0}, at: evict+0x18a/0x344 fs/inode.c:586
1 lock held by syz-executor.1/3722:
 #0: ffffffe009d08650 (sb_internal){.+.+}-{0:0}, at: evict+0x18a/0x344 fs/inode.c:586
1 lock held by syz-executor.0/4551:
 #0: ffffffe009d08650 (sb_internal){.+.+}-{0:0}, at: evict+0x18a/0x344 fs/inode.c:586
1 lock held by syz-executor.1/4583:
 #0: ffffffe009d08650 (sb_internal){.+.+}-{0:0}, at: evict+0x18a/0x344 fs/inode.c:586
6 locks held by kworker/u4:3/28284:
2 locks held by syz-executor.1/1339:
 #0: ffffffe009d08460 (sb_writers#4){.+.+}-{0:0}, at: filename_create+0x98/0x262 fs/namei.c:3651
 #1: ffffffe023373f90 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:821 [inline]
 #1: ffffffe023373f90 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0xbc/0x262 fs/namei.c:3656
2 locks held by syz-executor.0/1340:
 #0: ffffffe009d08460 (sb_writers#4){.+.+}-{0:0}, at: filename_create+0x98/0x262 fs/namei.c:3651
 #1: ffffffe0233735a0 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:821 [inline]
 #1: ffffffe0233735a0 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0xbc/0x262 fs/namei.c:3656

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


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/29 16:49 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 64a19591a293 098b5d53 .config console log report info ci-qemu2-riscv64 INFO: task hung in jbd2_journal_stop
* Struck through repros no longer work on HEAD.