INFO: task jbd2/sda1-8:2936 blocked for more than 143 seconds. Not tainted 5.16.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jbd2/sda1-8 state:D stack:26192 pid: 2936 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 jbd2_journal_commit_transaction+0x89e/0x6be0 fs/jbd2/commit.c:496 kjournald2+0x1d0/0x930 fs/jbd2/journal.c:213 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb812e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by getty/3285: #0: ffff88814af93098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b9b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 3 locks held by syz-executor.1/21090: #0: ffff88814ada0460 (sb_writers#6){.+.+}-{0:0}, at: filename_create+0xf3/0x480 fs/namei.c:3649 #1: ffff888026898470 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline] #1: ffff888026898470 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: filename_create+0x158/0x480 fs/namei.c:3654 #2: ffff88814ada4990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf82/0x1380 fs/jbd2/transaction.c:466 3 locks held by kworker/u4:0/30542: #0: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffffc90003507db0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff8880b9c28298 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:946 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 30542 Comm: kworker/u4:0 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1170 [inline] RIP: 0010:rcu_lockdep_current_cpu_online+0x7b/0x150 kernel/rcu/tree.c:1160 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ad 00 00 00 48 03 1c ed a0 a8 55 8b 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 18 48 89 fa <48> c1 ea 03 80 3c 02 00 0f 85 90 00 00 00 48 8d 7b 20 48 8b 6b 18 RSP: 0018:ffffc90003507af8 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: ffff8880b9c3a980 RCX: ffffffff815bfb28 RDX: ffff8880b9c3a998 RSI: 0000000000000203 RDI: ffff8880b9c3a998 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8d90f9d7 R10: fffffbfff1b21f3a R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffff888061069bd8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9c153fa000 CR3: 000000001f39e000 CR4: 00000000003526f0 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x442/0x510 kernel/locking/lockdep.c:5608 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:446 batadv_nc_worker+0x930/0xfa0 net/batman-adv/network-coding.c:726 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 ad 00 00 00 jne 0xbe 11: 48 03 1c ed a0 a8 55 add -0x74aa5760(,%rbp,8),%rbx 18: 8b 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 8d 7b 18 lea 0x18(%rbx),%rdi 27: 48 89 fa mov %rdi,%rdx * 2a: 48 c1 ea 03 shr $0x3,%rdx <-- trapping instruction 2e: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 32: 0f 85 90 00 00 00 jne 0xc8 38: 48 8d 7b 20 lea 0x20(%rbx),%rdi 3c: 48 8b 6b 18 mov 0x18(%rbx),%rbp