INFO: task kworker/0:2:793 blocked for more than 145 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:2     state:D stack:26152 pid:793   tgid:793   ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: events_power_efficient crda_timeout_work
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 crda_timeout_work+0x15/0x50
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.2.205:6619 blocked for more than 145 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.205       state:D stack:25096 pid:6619  tgid:6619  ppid:5846   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 tun_chr_close+0x3e/0x1c0
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f059e38ec29
RSP: 002b:00007fff72754538 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f059e5d7da0 RCX: 00007f059e38ec29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f059e5d7da0 R08: 0000000000000208 R09: 0000001e7275482f
R10: 00007f059e5d7cb0 R11: 0000000000000246 R12: 0000000000014b1f
R13: 00007f059e5d6090 R14: ffffffffffffffff R15: 00007fff72754650
 </TASK>
INFO: task syz.1.207:6624 blocked for more than 145 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.207       state:D stack:24264 pid:6624  tgid:6624  ppid:5850   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 tun_chr_close+0x3e/0x1c0
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5e8638ec29
RSP: 002b:00007ffd86f10c38 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f5e865d7da0 RCX: 00007f5e8638ec29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f5e865d7da0 R08: 0000000000000224 R09: 0000001e86f10f2f
R10: 00007f5e865d7cb0 R11: 0000000000000246 R12: 0000000000014d4b
R13: 00007f5e865d6180 R14: ffffffffffffffff R15: 00007ffd86f10d50
 </TASK>
INFO: task syz.1.207:6627 blocked for more than 145 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.207       state:D stack:22504 pid:6627  tgid:6624  ppid:5850   task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 cgrp_css_online+0x91/0x300
 online_css+0xbd/0x2e0
 cgroup_apply_control_enable+0x772/0xa80
 cgroup_mkdir+0xc40/0xe60
 kernfs_iop_mkdir+0x211/0x350
 vfs_mkdir+0x306/0x510
 do_mkdirat+0x247/0x590
 __x64_sys_mkdirat+0x87/0xa0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5e8638ec29
RSP: 002b:00007f5e87130038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f5e865d5fa0 RCX: 00007f5e8638ec29
RDX: 00000000000001ff RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007f5e86411e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5e865d6038 R14: 00007f5e865d5fa0 R15: 00007ffd86f10ad8
 </TASK>
INFO: task syz.1.207:6632 blocked for more than 145 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.207       state:D stack:28104 pid:6632  tgid:6624  ppid:5850   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 rwsem_down_read_slowpath+0x5fd/0x8f0
 down_read+0x98/0x2e0
 lookup_slow+0x46/0x70
 walk_component+0x2d2/0x400
 path_lookupat+0x163/0x430
 do_o_path+0x97/0x1f0
 path_openat+0x311f/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5e8638ec29
RSP: 002b:00007f5e845f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f5e865d6090 RCX: 00007f5e8638ec29
RDX: 0000000000200002 RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007f5e86411e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5e865d6128 R14: 00007f5e865d6090 R15: 00007ffd86f10ad8
 </TASK>
INFO: task syz.0.209:6628 blocked for more than 146 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.209       state:D stack:25096 pid:6628  tgid:6628  ppid:5855   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 raw_release+0x1bb/0x980
 sock_close+0xc3/0x240
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa6f2b8ec29
RSP: 002b:00007ffc1a640d98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fa6f2dd7da0 RCX: 00007fa6f2b8ec29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fa6f2dd7da0 R08: 0000000000000000 R09: 0000000a1a64108f
R10: 000000000003fd78 R11: 0000000000000246 R12: 0000000000014d67
R13: 00007fa6f2dd5fa0 R14: ffffffffffffffff R15: 00007ffc1a640eb0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a160 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/0:2/793:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90004c7fbc0 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: crda_timeout_work+0x15/0x50
2 locks held by getty/5675:
 #0: ffff8880204300a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/u8:2/5679:
 #0: ffff88810d9ba148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002ddfbc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
3 locks held by kworker/0:4/5854:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000365fbc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf30
1 lock held by syz.2.205/6619:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
4 locks held by syz.2.205/6620:
1 lock held by syz.1.207/6624:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
4 locks held by syz.1.207/6627:
 #0: ffff8880296de428 (sb_writers#10){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff88802be15060 (&type->i_mutex_dir_key#7/1){+.+.}-{4:4}, at: filename_create+0x1f8/0x3c0
 #2: ffffffff8e1715e8 (cgroup_mutex){+.+.}-{4:4}, at: cgroup_kn_lock_live+0x13c/0x230
 #3: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: cgrp_css_online+0x91/0x300
1 lock held by syz.1.207/6632:
 #0: ffff88802be15060 (&type->i_mutex_dir_key#7){++++}-{4:4}, at: lookup_slow+0x46/0x70
2 locks held by syz.0.209/6628:
 #0: ffff888112f44a08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240
 #1: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: raw_release+0x1bb/0x980
1 lock held by syz-executor/6642:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6646:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6647:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6652:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6658:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6660:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6668:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6674:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/6676:
 #0: ffffffff8f53adc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 6620 Comm: syz.2.205 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:restore_regs_and_return_to_kernel+0x2c/0x2e
Code: 24 88 00 00 00 03 74 02 0f 0b 41 5f 41 5e 41 5d 41 5c 5d 5b 41 5b 41 5a 41 59 41 58 58 59 5a 5e 5f 48 83 c4 08 f6 44 24 20 04 <75> 02 48 cf 57 0f 01 f8 66 90 0f 20 df 0f 1f 44 00 00 48 81 e7 ff
RSP: 0018:ffffc900001e0668 EFLAGS: 00000046
RAX: ffffc90006eb7e01 RBX: ffffc90006eb7ee8 RCX: 1ffff9200003c001
RDX: ffffffff9042b5ac RSI: 0000000000000002 RDI: ffffc90006eb7ee8
RBP: 1ffff9200003c0ee R08: 0000000000000007 R09: ffffffff8172d195
R10: ffffc900001e0440 R11: ffffffff81ac5140 R12: ffffc90006eb8000
R13: 1ffff9200003c0ef R14: ffffc900001e0768 R15: ffffc90006eb0000
FS:  00007f059f1cd6c0(0000) GS:ffff8881a3c11000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc1f8c87e20 CR3: 00000000259b8000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
RIP: 0010:__read_once_word_nocheck+0x0/0x10
Code: e8 65 eb b0 00 48 ba 00 00 00 00 00 fc ff df e9 88 fc ff ff 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 07 c3 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90
RSP: 0018:ffffc900001e0690 EFLAGS: 00000202
 unwind_next_frame+0xc3c/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5b/0x80
 kmem_cache_free+0x18f/0x400
 mac80211_hwsim_beacon_tx+0x3f0/0x860
 __iterate_interfaces+0x2ab/0x590
 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180
 mac80211_hwsim_beacon+0xbb/0x1c0
 __hrtimer_run_queues+0x52c/0xc60
 hrtimer_run_softirq+0x187/0x2b0
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:___slab_alloc+0x4a2/0x1420
Code: 24 08 00 02 00 00 0f 84 c3 fb ff ff fb 89 dd e9 bb fb ff ff e8 6f af 61 09 f7 c3 00 02 00 00 0f 84 96 fe ff ff fb 8b 6c 24 20 <eb> 19 48 8b 74 24 20 48 c7 46 10 00 00 00 00 4c 8b 2c 24 4c 89 ef
RSP: 0018:ffffc90006eb7670 EFLAGS: 00000206
RAX: aca1d23929717b00 RBX: 0000000000000246 RCX: aca1d23929717b00
RDX: 0000000000000006 RSI: ffffffff8d9baf27 RDI: ffffffff8be34480
RBP: 00000000ffffffff R08: ffffffff8fa3b537 R09: 1ffffffff1f476a6
R10: dffffc0000000000 R11: fffffbfff1f476a7 R12: 0000000000000001
R13: ffff88801a442140 R14: ffff88813663e6e0 R15: ffff88813663e700
 __kvmalloc_node_noprof+0x429/0x5f0
 pfifo_fast_init+0x10d/0x6b0
 qdisc_create_dflt+0x13b/0x4e0
 mq_init+0x2dc/0x660
 qdisc_create_dflt+0x13b/0x4e0
 dev_activate+0x1ce/0x1150
 __dev_open+0x69c/0x880
 __dev_change_flags+0x1ea/0x6d0
 netif_change_flags+0x88/0x1a0
 dev_change_flags+0x130/0x260
 dev_ioctl+0x7b4/0x1150
 sock_do_ioctl+0x22c/0x300
 sock_ioctl+0x576/0x790
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f059e38ec29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f059f1cd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f059e5d5fa0 RCX: 00007f059e38ec29
RDX: 0000200000002280 RSI: 0000000000008914 RDI: 0000000000000010
RBP: 00007f059e411e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f059e5d6038 R14: 00007f059e5d5fa0 R15: 00007fff727543d8
 </TASK>
