INFO: task syz.1.9656:14344 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.9656      state:D stack:23464 pid:14344 tgid:14340 ppid:5594   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 rtnl_net_dev_lock+0x257/0x2f0
 register_netdevice_notifier_dev_net+0x33/0x240
 nsim_create+0xcd0/0x1150
 __nsim_dev_port_add+0x7f8/0xcd0
 nsim_dev_port_add_all+0x37/0xf0
 nsim_dev_reload_up+0x4dd/0x880
 devlink_reload+0x4b2/0x890
 devlink_nl_reload_doit+0xa96/0xc80
 genl_family_rcv_msg_doit+0x233/0x340
 genl_rcv_msg+0x614/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x7bd/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 ____sys_sendmsg+0x54e/0x850
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1b1/0x290
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f814859e159
RSP: 002b:00007f8149425028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f8148825fa0 RCX: 00007f814859e159
RDX: 0000000006048800 RSI: 0000200000000080 RDI: 0000000000000008
RBP: 00007f8148635024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8148826038 R14: 00007f8148825fa0 R15: 00007ffcc5ba0618
 </TASK>
INFO: task syz.2.9664:14374 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.9664      state:D stack:26080 pid:14374 tgid:14373 ppid:5595   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 rtnl_newlink+0xc10/0x1c30
 rtnetlink_rcv_msg+0x802/0xc00
 netlink_rcv_skb+0x226/0x4a0
 netlink_unicast+0x7bd/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 ____sys_sendmsg+0x54e/0x850
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1b1/0x290
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc26f39e159
RSP: 002b:00007fc270300028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc26f625fa0 RCX: 00007fc26f39e159
RDX: 0000000004008840 RSI: 0000200000000000 RDI: 000000000000002d
RBP: 00007fc26f435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc26f626038 R14: 00007fc26f625fa0 R15: 00007fff938998f8
 </TASK>
INFO: task syz.2.9664:14376 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.9664      state:D stack:25968 pid:14376 tgid:14373 ppid:5595   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 rtnl_newlink+0xc10/0x1c30
 rtnetlink_rcv_msg+0x802/0xc00
 netlink_rcv_skb+0x226/0x4a0
 netlink_unicast+0x7bd/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 ____sys_sendmsg+0x54e/0x850
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1b1/0x290
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc26f39e159
RSP: 002b:00007fc2702be028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc26f626180 RCX: 00007fc26f39e159
RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000008
RBP: 00007fc26f435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc26f626218 R14: 00007fc26f626180 R15: 00007fff938998f8
 </TASK>

Showing all locks held in the system:
locks held by kworker/u8:1/13: 3, on CPU#0:
 #0: ffff8881745fe140 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000127c40 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
locks held by pr/ttyS0/16: 1, last CPU#0:
 #0: ffffffff8ec362b8 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60
locks held by khungtaskd/35: 1, last CPU#0:
 #0: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by getty/5425: 2, on CPU#0:
 #0: ffff8881780f60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034762e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by sshd/5520: 2, last CPU#0:
 #0: ffff8881bd5c4c88 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500
 #1: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x29/0x240
locks held by kworker/u8:3/5654: 2, last CPU#1:
 #0: ffff888174dd8140 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004a2fc40 ((work_completion)(&(&bat_priv->tt.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
locks held by kworker/1:0/10471: 3, last CPU#1:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000473fc40 ((work_completion)(&ht->run_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff8881105210e8 (&ht->mutex#13){+.+.}-{4:4}, at: rht_deferred_worker+0x43/0x2250
locks held by syz.1.9656/14344: 4, on CPU#1:
 #0: ffffffff902c17e8 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffff888116bf5128 (&dev->mutex){....}-{4:4}, at: devlink_get_from_attrs_lock+0x34a/0x490
 #2: ffff888116bf4258 (&devlink->lock_key){+.+.}-{4:4}, at: devlink_get_from_attrs_lock+0x360/0x490
 #3: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_dev_lock+0x257/0x2f0
locks held by syz.0.9663/14370: 1, last CPU#0:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x767/0xc00
locks held by syz.2.9664/14374: 2, on CPU#0:
 #0: ffffffff907a5668 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc10/0x1c30
locks held by syz.2.9664/14376: 2, on CPU#0:
 #0: ffffffff907a4b40 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc10/0x1c30
locks held by syz-executor/14381: 1, on CPU#0:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/14393: 1, on CPU#1:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/14398: 1, on CPU#0:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/14406: 1, on CPU#1:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/14414: 1, on CPU#1:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/14419: 1, on CPU#0:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/14429: 1, on CPU#0:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/14439: 1, on CPU#0:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/14443: 1, on CPU#0:
 #0: ffffffff90250960 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 35 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+0x17d/0x390
 sys_info+0x135/0x170
 watchdog+0xfd7/0x1030
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 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: 5654 Comm: kworker/u8:3 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
Workqueue: bat_events batadv_tt_purge
RIP: 0010:rb_insert_color+0x61f/0x660
Code: 89 f7 e8 a4 d2 57 f6 eb 1a 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 74 08 4c 89 f7 e8 88 d2 57 f6 49 89 1e 48 83 c4 18 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 92 c5 07 00 cc 4d 89 e7 4c 89 f8
RSP: 0018:ffffc90000a18d98 EFLAGS: 00000082
RAX: 1ffff1102d4928a7 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88823c628618 RDI: ffff88816a494538
RBP: dffffc0000000000 R08: ffff88816a49454f R09: 0000000000000000
R10: ffff88816a494540 R11: ffffed102d4928aa R12: ffff88816a494538
R13: ffff88816a494538 R14: dffffc0000000000 R15: ffff88816a494538
FS:  0000000000000000(0000) GS:ffff8882a8cd8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563750965938 CR3: 0000000176d36000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 timerqueue_linked_add+0x262/0x2e0
 enqueue_hrtimer+0x18e/0x2c0
 __hrtimer_run_queues+0x4ce/0xa10
 hrtimer_run_softirq+0x1e3/0x2e0
 handle_softirqs+0x226/0x860
 do_softirq+0x77/0xd0
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x100/0x140
 batadv_tt_purge+0x4ee/0xa40
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
