INFO: task kworker/u4:5:1073 blocked for more than 143 seconds. Not tainted 5.15.0-next-20211106-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:23736 pid: 1073 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:4984 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6265 schedule+0xd2/0x260 kernel/sched/core.c:6338 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 rcu_barrier+0x2db/0x440 kernel/rcu/tree.c:4050 l2tp_exit_net+0x247/0x500 net/l2tp/l2tp_core.c:1669 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:168 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:593 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 INFO: task syz-executor.5:31901 can't die for more than 143 seconds. task:syz-executor.5 state:R running task stack:28272 pid:31901 ppid: 27247 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4984 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6265 schedule+0xd2/0x260 kernel/sched/core.c:6338 exit_to_user_mode_loop kernel/entry/common.c:163 [inline] exit_to_user_mode_prepare+0x14a/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3c0a38aae9 RSP: 002b:00007f3c07900188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffea RBX: 00007f3c0a49df60 RCX: 00007f3c0a38aae9 RDX: 0000000000000020 RSI: 0000000020000000 RDI: 0000000000000012 RBP: 00007f3c0a3e4f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb895fa1f R14: 00007f3c07900300 R15: 00005555570c6820 Showing all locks held in the system: 4 locks held by kworker/u4:1/10: #0: ffff88804e59c938 ((wq_completion)phy20){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88804e59c938 ((wq_completion)phy20){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88804e59c938 ((wq_completion)phy20){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88804e59c938 ((wq_completion)phy20){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff88804e59c938 ((wq_completion)phy20){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff88804e59c938 ((wq_completion)phy20){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90000cf7db0 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff88809d96cd40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1013 [inline] #2: ffff88809d96cd40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_rx_queued_mgmt+0x101/0x3130 net/mac80211/ibss.c:1628 #3: ffff888074ba98b0 (&local->sta_mtx){+.+.}-{3:3}, at: sta_info_destroy_addr+0x48/0xe0 net/mac80211/sta_info.c:1130 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by khugepaged/33: #0: ffffffff8bc68888 (lock#5){+.+.}-{3:3}, at: __lru_add_drain_all+0x65/0x760 mm/swap.c:797 4 locks held by kworker/u4:2/52: #0: ffff88804c25f938 ((wq_completion)phy21){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88804c25f938 ((wq_completion)phy21){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88804c25f938 ((wq_completion)phy21){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88804c25f938 ((wq_completion)phy21){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff88804c25f938 ((wq_completion)phy21){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff88804c25f938 ((wq_completion)phy21){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90001a0fdb0 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff8880713dcd40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1013 [inline] #2: ffff8880713dcd40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x90/0xe80 net/mac80211/ibss.c:1681 #3: ffff8880481098b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_sta_expire net/mac80211/ibss.c:1255 [inline] #3: ffff8880481098b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_sta_merge_ibss net/mac80211/ibss.c:1298 [inline] #3: ffff8880481098b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x47e/0xe80 net/mac80211/ibss.c:1709 4 locks held by kworker/u4:3/54: #0: ffff88802becc938 ((wq_completion)phy27){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88802becc938 ((wq_completion)phy27){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88802becc938 ((wq_completion)phy27){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88802becc938 ((wq_completion)phy27){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff88802becc938 ((wq_completion)phy27){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff88802becc938 ((wq_completion)phy27){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90001a2fdb0 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff88807eebcd40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1013 [inline] #2: ffff88807eebcd40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x90/0xe80 net/mac80211/ibss.c:1681 #3: ffff888068b018b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_sta_expire net/mac80211/ibss.c:1255 [inline] #3: ffff888068b018b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_sta_merge_ibss net/mac80211/ibss.c:1298 [inline] #3: ffff888068b018b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x47e/0xe80 net/mac80211/ibss.c:1709 4 locks held by kworker/u4:4/961: #0: ffff88807b8f5938 ((wq_completion)phy25){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88807b8f5938 ((wq_completion)phy25){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88807b8f5938 ((wq_completion)phy25){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88807b8f5938 ((wq_completion)phy25){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff88807b8f5938 ((wq_completion)phy25){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff88807b8f5938 ((wq_completion)phy25){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc900043efdb0 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff88807bd7cd40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1013 [inline] #2: ffff88807bd7cd40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x90/0xe80 net/mac80211/ibss.c:1681 #3: ffff8880351298b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_sta_expire net/mac80211/ibss.c:1255 [inline] #3: ffff8880351298b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_sta_merge_ibss net/mac80211/ibss.c:1298 [inline] #3: ffff8880351298b0 (&local->sta_mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x47e/0xe80 net/mac80211/ibss.c:1709 4 locks held by kworker/u4:5/1073: #0: ffff88814075b138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88814075b138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88814075b138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88814075b138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff88814075b138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff88814075b138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc900045dfdb0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffffffff8d2f7d50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:555 #3: ffffffff8bb8ccf0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x440 kernel/rcu/tree.c:3985 1 lock held by in:imklog/6236: 2 locks held by syz-executor.1/9398: #0: ffff8880399c2610 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #0: ffff8880399c2610 (&sb->s_type->i_mutex_key#13){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:648 #1: ffffffff8bb8cde8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8bb8cde8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fa/0x620 kernel/rcu/tree_exp.h:836 2 locks held by syz-executor.1/9409: #0: ffff88801a353118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 #1: ffff88801a306b60 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x7a/0x1070 drivers/block/loop.c:1106 2 locks held by syz-executor.1/12964: 1 lock held by syz-executor.4/10290: #0: ffffffff8bb8cde8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffffffff8bb8cde8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2d5/0x620 kernel/rcu/tree_exp.h:836 2 locks held by syz-executor.1/14273: 4 locks held by kworker/u4:6/3525: #0: ffff88802bec8938 ((wq_completion)phy26){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88802bec8938 ((wq_completion)phy26){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88802bec8938 ((wq_completion)phy26){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff88802bec8938 ((wq_completion)phy26){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff88802bec8938 ((wq_completion)phy26){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff88802bec8938 ((wq_completion)phy26){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc9001ca4fdb0 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff888082de0d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1013 [inline] #2: ffff888082de0d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_rx_queued_mgmt+0x101/0x3130 net/mac80211/ibss.c:1628 #3: ffff8880483598b0 (&local->sta_mtx){+.+.}-{3:3}, at: sta_info_destroy_addr+0x48/0xe0 net/mac80211/sta_info.c:1130 3 locks held by kworker/1:11/13339: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc900143e7db0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffffffff8d30b4a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:251 2 locks held by kworker/0:1/14320: 2 locks held by kworker/u4:9/31913: 1 lock held by syz-executor.0/31917: #0: ffffffff8d30b4a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d30b4a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5568 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-next-20211106-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 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: 14897 Comm: syz-executor.2 Not tainted 5.15.0-next-20211106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_pc+0x5c/0x60 kernel/kcov.c:210 Code: 82 88 15 00 00 83 f8 02 75 20 48 8b 8a 90 15 00 00 8b 92 8c 15 00 00 48 8b 01 48 83 c0 01 48 39 c2 76 07 48 89 34 c1 48 89 01 0f 1f 00 41 55 41 54 49 89 fc 55 48 bd eb 83 b5 80 46 86 c8 61 RSP: 0018:ffffc90014a77730 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffea00009d8280 RCX: 0000000000000000 RDX: ffff88804e55ba80 RSI: ffffffff81b8f421 RDI: 0000000000000003 RBP: ffffea00009d8288 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81b8f413 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 00007fa0dc3d8000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f44902d66b0 CR3: 000000001c791000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: PageHuge+0x121/0x170 mm/hugetlb.c:1836 page_remove_file_rmap mm/rmap.c:1257 [inline] page_remove_rmap+0x670/0x1480 mm/rmap.c:1351 zap_pte_range mm/memory.c:1361 [inline] zap_pmd_range mm/memory.c:1471 [inline] zap_pud_range mm/memory.c:1500 [inline] zap_p4d_range mm/memory.c:1521 [inline] unmap_page_range+0xf0e/0x29f0 mm/memory.c:1542 unmap_single_vma+0x198/0x310 mm/memory.c:1587 unmap_vmas+0x16b/0x2f0 mm/memory.c:1619 exit_mmap+0x1d0/0x630 mm/mmap.c:3171 __mmput+0x122/0x4b0 kernel/fork.c:1164 mmput+0x56/0x60 kernel/fork.c:1185 exit_mm kernel/exit.c:507 [inline] do_exit+0xb27/0x2b40 kernel/exit.c:819 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2830 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa0dccdcae9 Code: Unable to access opcode bytes at RIP 0x7fa0dccdcabf. RSP: 002b:00007fa0da252218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa0dcdeff68 RCX: 00007fa0dccdcae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa0dcdeff68 RBP: 00007fa0dcdeff60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa0dcdeff6c R13: 00007ffe60f43c1f R14: 00007fa0da252300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 88 15 00 00 83 f8 mov %dl,-0x77d0000(%rip) # 0xf8830006 6: 02 75 20 add 0x20(%rbp),%dh 9: 48 8b 8a 90 15 00 00 mov 0x1590(%rdx),%rcx 10: 8b 92 8c 15 00 00 mov 0x158c(%rdx),%edx 16: 48 8b 01 mov (%rcx),%rax 19: 48 83 c0 01 add $0x1,%rax 1d: 48 39 c2 cmp %rax,%rdx 20: 76 07 jbe 0x29 22: 48 89 34 c1 mov %rsi,(%rcx,%rax,8) 26: 48 89 01 mov %rax,(%rcx) * 29: c3 retq <-- trapping instruction 2a: 0f 1f 00 nopl (%rax) 2d: 41 55 push %r13 2f: 41 54 push %r12 31: 49 89 fc mov %rdi,%r12 34: 55 push %rbp 35: 48 bd eb 83 b5 80 46 movabs $0x61c8864680b583eb,%rbp 3c: 86 c8 61