INFO: task syz-executor.1:16503 blocked for more than 153 seconds. Not tainted 5.10.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27848 pid:16503 ppid: 8865 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:3779 [inline] __schedule+0x893/0x2130 kernel/sched/core.c:4528 schedule+0xcf/0x270 kernel/sched/core.c:4606 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4665 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103 tun_detach drivers/net/tun.c:687 [inline] tun_chr_close+0x3a/0x180 drivers/net/tun.c:3398 __fput+0x285/0x920 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:151 exit_task_work include/linux/task_work.h:30 [inline] do_exit+0xb64/0x29b0 kernel/exit.c:809 do_group_exit+0x125/0x310 kernel/exit.c:906 get_signal+0x42a/0x1f10 kernel/signal.c:2758 arch_do_signal+0x82/0x2390 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0x100/0x1a0 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e159 RSP: 002b:00007f8d6270dcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000119bf88 RCX: 000000000045e159 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000119bf88 RBP: 000000000119bf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007fff68263e7f R14: 00007f8d6270e9c0 R15: 000000000119bf8c Showing all locks held in the system: 3 locks held by kworker/0:0/5: #0: ffff888147619538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888147619538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888147619538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888147619538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888147619538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888147619538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2243 #1: ffffc90000ca7da8 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2247 #2: ffffffff8c927948 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4568 1 lock held by khungtaskd/1624: #0: ffffffff8b3378e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by khugepaged/1662: #0: ffffffff8b4062a8 (lock#5){+.+.}-{3:3}, at: lru_add_drain_all+0x5f/0x6f0 mm/swap.c:801 1 lock held by in:imklog/8190: #0: ffff8880204d4870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:932 3 locks held by kworker/0:10/15503: #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888010064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x821/0x15a0 kernel/workqueue.c:2243 #1: ffffc90002dcfda8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2247 #2: ffffffff8c927948 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:250 2 locks held by kworker/1:14/15627: #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: ffffc900032afda8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x854/0x15a0 kernel/workqueue.c:2247 1 lock held by syz-executor.1/16503: #0: ffffffff8c927948 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:687 [inline] #0: ffffffff8c927948 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3398 2 locks held by syz-executor.0/17405: #0: ffffffff8c927948 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:687 [inline] #0: ffffffff8c927948 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3398 #1: ffffffff8b33ffa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8b33ffa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x27e/0x610 kernel/rcu/tree_exp.h:836 1 lock held by syz-executor.5/19217: #0: ffffffff8c927948 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x90a/0xdd0 net/core/dev.c:10280 4 locks held by syz-executor.3/19393: #0: ffff888013470f40 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x111/0x1110 net/bluetooth/hci_core.c:1720 #1: ffff888013470078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26f/0x1110 net/bluetooth/hci_core.c:1757 #2: ffffffff8cb04628 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1438 [inline] #2: ffffffff8cb04628 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xda/0x260 net/bluetooth/hci_conn.c:1557 #3: ffffffff8b33ffa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #3: ffffffff8b33ffa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f2/0x610 kernel/rcu/tree_exp.h:836 2 locks held by syz-executor.4/19406: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1624 Comm: khungtaskd Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19406 Comm: syz-executor.4 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:write_comp_data+0x18/0x80 kernel/kcov.c:218 Code: 00 00 c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 49 89 f2 65 8b 05 36 f4 91 7e 65 48 8b 34 25 00 f0 01 00 a9 00 01 ff 00 <74> 0f f6 c4 01 74 59 8b 86 5c 14 00 00 85 c0 74 4f 8b 86 38 14 00 RSP: 0018:ffffc90000006f50 EFLAGS: 00000006 RAX: 0000000000010103 RBX: 0000000000000000 RCX: ffffffff818eb517 RDX: 0000000000000000 RSI: ffff888018af4ec0 RDI: 0000000000000007 RBP: ffffc900000070a0 R08: 0000000000000001 R09: ffff88801351016f R10: 0000000000000000 R11: 0000000000000001 R12: ffffc90000007200 R13: ffff8880257b3000 R14: ffffc900000070c0 R15: ffffc90000007200 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0006d5000 CR3: 000000001c383000 CR4: 0000000000350ef0 Call Trace: perf_output_sample+0x7a7/0x1b60 kernel/events/core.c:6905 __perf_event_output kernel/events/core.c:7197 [inline] perf_event_output_forward+0x132/0x270 kernel/events/core.c:7211 __perf_event_overflow+0x13c/0x370 kernel/events/core.c:8867 perf_swevent_hrtimer+0x37c/0x3f0 kernel/events/core.c:10267 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x1ce/0xea0 kernel/time/hrtimer.c:1583 hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline] __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1097 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x48/0x100 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 RIP: 0010:unwind_next_frame+0xc73/0x1f90 arch/x86/kernel/unwind_orc.c:538 Code: 00 fc ff df 48 8b 14 24 4c 8b 64 24 60 4c 8b 44 24 20 4c 8b 4c 24 28 48 c1 ea 03 48 8b 4c 24 30 80 3c 02 00 0f 85 b9 11 00 00 <4c> 89 f2 4d 89 67 38 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 RSP: 0018:ffffc90000007678 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff92000000ed7 RCX: ffffffff8df5de73 RDX: 1ffff92000000ef1 RSI: ffffc90000007ff0 RDI: ffffc90000007ff0 RBP: 0000000000000002 R08: ffffffff8df5de6e R09: ffffffff8df5de72 R10: 0000000000082081 R11: 0000000000000001 R12: ffffc90000007ff8 R13: ffffc90000007785 R14: ffffc900000077a0 R15: ffffc90000007750 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc2/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:535 [inline] slab_alloc_node mm/slub.c:2891 [inline] slab_alloc mm/slub.c:2899 [inline] kmem_cache_alloc+0x1c6/0x440 mm/slub.c:2904 __build_skb+0x21/0x60 net/core/skbuff.c:311 __netdev_alloc_skb+0x20d/0x3f0 net/core/skbuff.c:464 netdev_alloc_skb include/linux/skbuff.h:2826 [inline] dev_alloc_skb include/linux/skbuff.h:2839 [inline] __ieee80211_beacon_get+0xebe/0x1aa0 net/mac80211/tx.c:4837 ieee80211_beacon_get_tim+0x88/0x910 net/mac80211/tx.c:4951 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x910 drivers/net/wireless/mac80211_hwsim.c:1729 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1782 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x693/0xea0 kernel/time/hrtimer.c:1583 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1600 __do_softirq+0x2a0/0x9f6 kernel/softirq.c:298 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x132/0x200 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 RIP: 0010:__schedule+0x63/0x2130 kernel/sched/core.c:4411 Code: 00 00 00 fc ff df 48 01 c8 48 c7 45 80 7f b9 c5 8a 48 c7 85 78 ff ff ff b3 8a b5 41 48 c7 45 88 40 f4 e6 88 c7 00 f1 f1 f1 f1 40 04 00 00 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 RSP: 0018:ffffc90001b7f5f0 EFLAGS: 00000286 RAX: fffff5200036fec6 RBX: 0000000000000001 RCX: 1ffff9200036fec6 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90001b7f6b8 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000034980 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000034980 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:4789 irqentry_exit_cond_resched kernel/entry/common.c:357 [inline] irqentry_exit_cond_resched kernel/entry/common.c:349 [inline] irqentry_exit+0x7a/0xa0 kernel/entry/common.c:387 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 RIP: 0010:write_comp_data+0x2f/0x80 kernel/kcov.c:218 Code: 05 36 f4 91 7e 65 48 8b 34 25 00 f0 01 00 a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 86 5c 14 00 00 85 c0 74 4f 8b 86 38 14 00 00 <83> f8 03 75 44 48 8b 86 40 14 00 00 8b b6 3c 14 00 00 4c 8b 00 48 RSP: 0018:ffffc90001b7f790 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f7879400000 RCX: ffffffff81a14a41 RDX: 00007f78792f8000 RSI: ffff888018af4ec0 RDI: 0000000000000006 RBP: 0000000000000004 R08: 0000000000000000 R09: ffff888063c9d723 R10: 00007f7879400000 R11: 0000000000000000 R12: ffff88801c509150 R13: 0000000000000000 R14: dffffc0000000000 R15: 00007f78792f8000 zap_pte_range mm/memory.c:1322 [inline] zap_pmd_range mm/memory.c:1357 [inline] zap_pud_range mm/memory.c:1386 [inline] zap_p4d_range mm/memory.c:1407 [inline] unmap_page_range+0xfb1/0x2640 mm/memory.c:1428 unmap_single_vma+0x198/0x300 mm/memory.c:1473 unmap_vmas+0x168/0x2e0 mm/memory.c:1505 exit_mmap+0x2b1/0x530 mm/mmap.c:3220 __mmput+0x122/0x470 kernel/fork.c:1079 mmput+0x53/0x60 kernel/fork.c:1100 exit_mm kernel/exit.c:486 [inline] do_exit+0xa72/0x29b0 kernel/exit.c:796 do_group_exit+0x125/0x310 kernel/exit.c:906 get_signal+0x42a/0x1f10 kernel/signal.c:2758 arch_do_signal+0x82/0x2390 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0x100/0x1a0 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x460fba Code: Unable to access opcode bytes at RIP 0x460f90. RSP: 002b:00007f7878693c48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e4 RAX: 0000000000000000 RBX: 0000000020ffc000 RCX: 0000000000460fba RDX: 000000000000a016 RSI: 00007f7878693c50 RDI: 0000000000000001 RBP: 00000000004cc81b R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 000000000000000e R13: 00007fff7630921f R14: 000000000119bf80 R15: 000000000119bf8c