INFO: task kworker/0:122:31402 blocked for more than 143 seconds. Not tainted 5.10.0-rc4-next-20201119-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:122 state:D stack:29680 pid:31402 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4269 [inline] __schedule+0x890/0x2030 kernel/sched/core.c:5019 schedule+0xcf/0x270 kernel/sched/core.c:5098 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5157 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x81a/0x1110 kernel/locking/mutex.c:1103 worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 create_worker+0x461/0x6d0 kernel/workqueue.c:1941 maybe_create_worker kernel/workqueue.c:2091 [inline] manage_workers kernel/workqueue.c:2143 [inline] worker_thread+0xaef/0x1120 kernel/workqueue.c:2390 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 INFO: task kworker/0:123:31405 blocked for more than 144 seconds. Not tainted 5.10.0-rc4-next-20201119-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:123 state:D stack:30880 pid:31405 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4269 [inline] __schedule+0x890/0x2030 kernel/sched/core.c:5019 schedule+0xcf/0x270 kernel/sched/core.c:5098 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5157 kthread+0x2a6/0x4a0 kernel/kthread.c:285 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Showing all locks held in the system: 1 lock held by rcu_gp/3: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by mm_percpu_wq/9: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by kworker/u4:4/127: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:2340 [inline] #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_thread+0x8ee/0x1120 kernel/workqueue.c:2374 2 locks held by kworker/u4:5/218: 1 lock held by khungtaskd/1657: #0: ffffffff8b339ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6252 1 lock held by ipv6_addrconf/4689: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by in:imklog/8200: #0: ffff88801c840ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:932 1 lock held by wg-crypt-wg0/8673: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg1/8676: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg0/9015: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg1/9020: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg0/9029: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg2/9036: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg1/9047: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg2/9052: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg0/9306: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg1/9319: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg2/9340: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg0/9370: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg1/9377: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg2/9392: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg0/9614: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg1/9629: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by wg-crypt-wg2/9646: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by kworker/u4:0/25842: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:2340 [inline] #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_thread+0x8ee/0x1120 kernel/workqueue.c:2374 3 locks held by kworker/u4:3/20272: 2 locks held by kworker/0:89/21873: #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888010066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2243 #1: ffffc90019327da8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2247 1 lock held by kworker/1:128/22746: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 1 lock held by kworker/0:122/31402: #0: ffffffff8b204b88 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x290 kernel/workqueue.c:1846 2 locks held by syz-executor.4/12819: #0: ffffffff8c9210d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:479 #1: ffffffff8b3423e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8b3423e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x27e/0x610 kernel/rcu/tree_exp.h:836 2 locks held by syz-executor.5/12922: #0: ffffffff8c9210d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:479 #1: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x15/0x190 drivers/net/wireguard/device.c:401 3 locks held by syz-executor.1/12920: #0: ffffffff8c9210d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:479 #1: ffffffff8c933288 (rtnl_mutex){+.+.}-{3:3}, at: sit_exit_batch_net+0x88/0x700 net/ipv6/sit.c:1938 #2: ffffffff8b3423e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #2: ffffffff8b3423e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f2/0x610 kernel/rcu/tree_exp.h:836 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1657 Comm: khungtaskd Not tainted 5.10.0-rc4-next-20201119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:147 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline] watchdog+0xd89/0xf30 kernel/hung_task.c:338 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8109 Comm: kworker/u4:1 Not tainted 5.10.0-rc4-next-20201119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0xa71/0x5c00 kernel/locking/lockdep.c:4820 Code: 3c 03 0f 8e 50 36 00 00 41 0f b7 44 24 20 66 25 ff 1f 66 89 44 24 08 41 0f b6 44 24 22 83 e0 03 48 83 7c 24 18 00 88 44 24 38 <0f> 84 cd 00 00 00 65 48 8b 1c 25 00 f0 01 00 48 8d 83 20 09 00 00 RSP: 0018:ffffc900018efa58 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 677455fd1b9e33f1 RCX: 0000000077455fd6 RDX: 1ffff11009c207d3 RSI: 0000000000000008 RDI: ffff88804e103e99 RBP: ffff88804e103500 R08: 0000000000000000 R09: ffffffff8ebbf767 R10: 0000000000000002 R11: 0000000000000000 R12: ffff88804e103e78 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d5d9fc000 CR3: 0000000049994000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5435 [inline] lock_acquire+0x2a3/0x8c0 kernel/locking/lockdep.c:5400 rcu_lock_acquire include/linux/rcupdate.h:255 [inline] rcu_read_lock include/linux/rcupdate.h:644 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:407 [inline] batadv_nc_worker+0x12d/0xe50 net/batman-adv/network-coding.c:718 process_one_work+0x933/0x15a0 kernel/workqueue.c:2272 worker_thread+0x64c/0x1120 kernel/workqueue.c:2418 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296