INFO: task syz.9.1547:11879 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.9.1547      state:D stack:24352 pid:11879 tgid:11879 ppid:11233  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x15dd/0x52d0
 schedule+0x164/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7fe/0x1300
 perf_event_ctx_lock_nested+0x3b8/0x490
 perf_event_release_kernel+0xda/0x510
 perf_release+0x38/0x50
 __fput+0x44f/0xa70
 task_work_run+0x1d9/0x270
 exit_to_user_mode_loop+0xed/0x480
 do_syscall_64+0x32d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f38a059c799
RSP: 002b:00007ffc57bc6e48 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f38a0817da0 RCX: 00007f38a059c799
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f38a0817da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007f38a0817cb0 R11: 0000000000000246 R12: 000000000004e438
R13: 00007f38a0815fac R14: 000000000004e288 R15: 00007f38a0815fa0
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/0:0/9:
 #0: ffff888100069d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900000e7c40 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0xa5/0xfe0
4 locks held by kworker/u8:1/13:
 #0: ffff8881012ae148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90000127c40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbbe5f0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf4/0x800
 #3: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1c/0x200
3 locks held by kworker/u9:1/31:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90000a67c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881a6368788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x4a0
1 lock held by khungtaskd/34:
 #0: ffffffff8e75e3e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u9:2/54:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90000be7c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
3 locks held by kworker/u9:4/92:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc9000286fc40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff8881170c8788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x4a0
1 lock held by klogd/5244:
 #0: ffff88812103ade0 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x31/0x150
2 locks held by getty/5634:
 #0: ffff8881137680a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900032002f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0
3 locks held by kworker/u8:3/5870:
 #0: ffff8881141a7948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc900068bfc40 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
3 locks held by kworker/1:6/6577:
 #0: ffff88810006b148 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90006357c40 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
1 lock held by udevd/7593:
 #0: ffff88810adb6358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30
4 locks held by kworker/u9:5/10524:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90006697c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff888195f18788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x4a0
 #3: ffffffff8e764678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770
3 locks held by kworker/1:7/11163:
1 lock held by syz-executor/11229:
 #0: ffffffff8e764540 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x580
1 lock held by syz.9.1547/11879:
 #0: ffff888199c314a8 (&ctx->mutex){+.+.}-{4:4}, at: perf_event_ctx_lock_nested+0x3b8/0x490
11 locks held by syz.9.1547/11885:
9 locks held by syz-executor/11963:
 #0: ffff888117198420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88816f21ac88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff888108fb42d8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f441668 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
 #4: ffff8881ba81f0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x860
 #5: ffff8881baa66250 (&devlink->lock_key#3){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170
 #6: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xed/0x680
 #7: ffff8881bb230d40 (&dev_instance_lock_key#24){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x583/0x2370
 #8: ffffffff8e764678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770
4 locks held by syz-executor/11965:
 #0: ffff888117198420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x227/0xb90
 #1: ffff88811ec55488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1de/0x540
 #2: ffff888108fb42d8 (kn->active#48){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x231/0x540
 #3: ffffffff8f441668 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370
1 lock held by syz-executor/11980:
 #0: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
3 locks held by kworker/u9:6/11985:
 #0: ffff8881000ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830
 #1: ffffc90004ea7c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830
 #2: ffff88811d620788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x4a0
1 lock held by syz-executor/11991:
 #0: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/11993:
 #0: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/11997:
 #0: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/12004:
 #0: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/12006:
 #0: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0
1 lock held by syz-executor/12009:
 #0: ffffffff8fbccd88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x404/0x1ad0

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

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+0xe8/0x150
 nmi_cpu_backtrace+0x274/0x2d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 sys_info+0x135/0x170
 watchdog+0xfd9/0x1030
 kthread+0x388/0x470
 ret_from_fork+0x51e/0xb90
 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: 11885 Comm: syz.9.1547 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:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 e9 50 d0 3b 0a cc 89 f6 31 d2 e9 b6 c1 76 03 66 0f 1f 44 00
RSP: 0018:ffffc90000a07cd0 EFLAGS: 00000046
RAX: 000000000000006d RBX: ffff88823c623e40 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000006d RDI: 0000000000000838
RBP: 0000000000000000 R08: ffffffff81b2ca85 R09: ffffffff9a2b7508
R10: 0000000000000003 R11: ffffffff8173caf0 R12: 000000001000177c
R13: dffffc0000000000 R14: 000000000000006d R15: 0000000000000020
FS:  00007f38a14c96c0(0000) GS:ffff8882a9463000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559e15b71680 CR3: 00000001155d4000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000200000000100 DR2: 0000200000000100
DR3: 0000200000000100 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x1c9/0x350
 hrtimer_interrupt+0xb08/0x1010
 __sysvec_apic_timer_interrupt+0x102/0x460
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:ipv6_get_saddr_eval+0x521/0xee0
Code: 74 08 4c 89 ef e8 9f 49 de f7 41 be e0 00 00 00 4d 03 75 00 4c 89 f0 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 <84> c0 0f 85 b4 07 00 00 41 8b 0e 4c 89 e7 48 8b 74 24 08 8b 54 24
RSP: 0018:ffffc90000a07f48 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffffc90000a08080 RCX: dffffc0000000000
RDX: ffff8881081b7800 RSI: ffffffff8fcee5c0 RDI: ffffc90000a08088
RBP: 0000000000000006 R08: ffff88816a29ba80 R09: 000000000000000b
R10: 000000000000000a R11: 0000000000000100 R12: ffff8881a5ed8000
R13: dffffc0000000000 R14: ffff8881970de0e0 R15: ffffc90000a08048
 __ipv6_dev_get_saddr+0x1af/0x440
 ipv6_dev_get_saddr+0x2c7/0xbb0
 ip6_dst_lookup_tail+0xfb7/0x15a0
 ip6_dst_lookup_flow+0x47/0xe0
 udp_tunnel6_dst_lookup+0x24d/0x470
 geneve_xmit+0x13a6/0x3110
 dev_hard_start_xmit+0x2d8/0x870
 __dev_queue_xmit+0x16d1/0x3890
 ip6_output+0x340/0x550
 ndisc_send_skb+0xd0b/0x1670
 addrconf_rs_timer+0x395/0x6d0
 call_timer_fn+0x192/0x640
 __run_timer_base+0x652/0x8b0
 run_timer_softirq+0xb7/0x170
 handle_softirqs+0x22a/0x870
 __irq_exit_rcu+0x5f/0x150
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__sanitizer_cov_trace_pc+0x45/0x70
Code: ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 94 16 00 00 00 74 2c 8b 91 70 16 00 00 83 fa 02 75 21 48 8b 91 78 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 74 16 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2
RSP: 0018:ffffc90003e47ab8 EFLAGS: 00000246
RAX: ffffffff81b9a628 RBX: ffffc90003e47b08 RCX: ffff88816a29ba80
RDX: ffffc9002a5c4000 RSI: 0000000000002c59 RDI: 0000000000000000
RBP: ffffc90003e47b90 R08: ffffffff90118bb7 R09: 1ffffffff2023176
R10: dffffc0000000000 R11: fffffbfff2023177 R12: 1ffff920007c8f61
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff920007c8f5c
 smp_call_function_single+0x388/0x580
 perf_install_in_context+0x5c0/0x930
 __se_sys_perf_event_open+0x192f/0x1d60
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f38a059c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f38a14c9028 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f38a0816180 RCX: 00007f38a059c799
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000100
RBP: 00007f38a0632c99 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f38a0816218 R14: 00007f38a0816180 R15: 00007ffc57bc6ce8
 </TASK>
