INFO: task dhcpcd:5336 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:dhcpcd          state:D stack:21384 pid:5336  tgid:5336  ppid:5335   task_flags:0x400140 flags:0x00080000
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 inet_rtm_deladdr+0x1cd/0x7a0
 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:0x7f6279de9a4b
RSP: 002b:00007fffc9a191c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f6279d116c0 RCX: 00007f6279de9a4b
RDX: 0000000000000000 RSI: 00007fffc9a2d378 RDI: 0000000000000005
RBP: 0000000000000005 R08: 0000000000000000 R09: 00007fffc9a2d378
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 00007fffc9a2d378 R14: 0000000000000020 R15: 0000000000000001
 </TASK>
INFO: task kworker/1:6:5700 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:6     state:D stack:22560 pid:5700  tgid:5700  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events switchdev_deferred_process_work
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 switchdev_deferred_process_work+0xe/0x20
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task kworker/u10:27:18271 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u10:27  state:D stack:24584 pid:18271 tgid:18271 ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events_unbound linkwatch_event
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 linkwatch_event+0xe/0x60
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz-executor:18751 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:23080 pid:18751 tgid:18751 ppid:1      task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x17db/0x58f0
 schedule+0x164/0x2b0
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7c1/0x1550
 register_nexthop_notifier+0x8b/0x290
 nsim_fib_create+0x6a6/0xae0
 nsim_drv_probe+0x7c2/0xbb0
 really_probe+0x254/0xae0
 __driver_probe_device+0x1e8/0x360
 driver_probe_device+0x4f/0x240
 __device_attach_driver+0x270/0x410
 bus_for_each_drv+0x258/0x2f0
 __device_attach+0x2c4/0x450
 device_initial_probe+0xa1/0xd0
 bus_probe_device+0x12a/0x220
 device_add+0x7d7/0xb80
 new_device_store+0x3a4/0x6c0
 kernfs_fop_write_iter+0x3a4/0x540
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7de195e98e
RSP: 002b:00007ffd2df61318 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000055557343b500 RCX: 00007f7de195e98e
RDX: 0000000000000003 RSI: 00007ffd2df613a0 RDI: 0000000000000005
RBP: 00007f7de1a358cb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00007ffd2df613a0 R14: 00007f7de2754620 R15: 0000000000000003
 </TASK>
INFO: task syz-executor:18777 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:23528 pid:18777 tgid:18777 ppid:1      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_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8d41f5e98e
RSP: 002b:00007ffc0c73f878 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000555588cf0500 RCX: 00007f8d41f5e98e
RDX: 000000000000003c RSI: 00007f8d42d54670 RDI: 0000000000000003
RBP: 0000000000000001 R08: 00007ffc0c73f8f4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f8d42d54670 R15: 0000000000000000
 </TASK>
INFO: task syz-executor:18785 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:23528 pid:18785 tgid:18785 ppid:1      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_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5a59d5e98e
RSP: 002b:00007ffcb5aa02a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00005555954c1500 RCX: 00007f5a59d5e98e
RDX: 0000000000000048 RSI: 00007f5a5ab54670 RDI: 0000000000000003
RBP: 0000000000000001 R08: 00007ffcb5aa0324 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f5a5ab54670 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
locks held by kworker/0:0/9: 3, on CPU#0:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900000e7c40 (netdev_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6f/0x770
locks held by kworker/u8:0/12: 3, last CPU#0:
 #0: ffff88816d051140 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90000117c40 ((work_completion)(&(&bat_priv->dat.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffff888121028298 (hrtimer_bases.lock){-.-.}-{2:2}, at: __hrtimer_rearm_deferred+0x99/0x4b0
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#1:
 #0: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
locks held by dhcpcd/5336: 1, on CPU#0:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_deladdr+0x1cd/0x7a0
locks held by getty/5419: 2, on CPU#1:
 #0: ffff888115e900a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900034832e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360
locks held by sshd/5573: 1, last CPU#1:
 #0: ffff8881be6e1288 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500
locks held by syz-executor/5575: 5, last CPU#1:
 #0: ffff88811d055c40 (&sb->s_type->i_mutex_key#13){+.+.}-{4:4}, at: __sock_release+0x7a/0x1f0
 #1: ffff88810d8c5060 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_close+0x1d/0x110
 #2: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x65/0x1b10
 #3: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: ip_output+0x5a/0x450
 #4: ffffffff8ed5c6e0 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x3de/0x10b0
locks held by kworker/1:5/5668: 3, on CPU#1:
 #0: ffff888102f08d40 ((wq_completion)infiniband){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004e4fc40 ((work_completion)(&work->work)#2){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: ib_get_eth_speed+0x173/0x7f0
locks held by kworker/1:6/5700: 3, on CPU#1:
 #0: ffff88810006b140 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004f0fc40 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
locks held by kworker/u8:4/5786: 4, last CPU#1:
 #0: ffff8881012d5940 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc9000694fc40 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff90242088 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf5/0x810
 #3: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x28e/0x8d0
locks held by kworker/u8:5/8949: 3, on CPU#1:
 #0: ffff88816c92b140 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004a67c40 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
locks held by kworker/1:7/11876: 3, on CPU#1:
 #0: ffff888102f08d40 ((wq_completion)infiniband){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc90004a57c40 ((work_completion)(&work->work)#2){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: ib_get_eth_speed+0x173/0x7f0
locks held by kworker/u10:27/18271: 3, on CPU#0:
 #0: ffff8881000ac140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #1: ffffc900042bfc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630
 #2: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
locks held by syz-executor/18751: 7, on CPU#1:
 #0: ffff888115906460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0
 #1: ffff8881a5acdc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540
 #2: ffff88810c984e18 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540
 #3: ffffffff8fac8560 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x13c/0x6c0
 #4: ffff8881a68c3128 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x450
 #5: ffff8881a68c1258 (&devlink->lock_key#4){+.+.}-{4:4}, at: nsim_drv_probe+0xfb/0xbb0
 #6: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x8b/0x290
locks held by syz-executor/18777: 2, on CPU#1:
 #0: ffffffff8f9b8008 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc10/0x1c30
locks held by syz-executor/18785: 1, on CPU#1:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc10/0x1c30
locks held by syz-executor/18857: 1, on CPU#0:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/18864: 1, on CPU#0:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/18872: 1, on CPU#0:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/18877: 1, on CPU#1:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/18886: 1, on CPU#0:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/18893: 1, on CPU#0:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0
locks held by syz-executor/18901: 1, on CPU#1:
 #0: ffffffff902508e0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0

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

NMI backtrace for cpu 1
CPU: 1 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:0 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_dat_purge
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 c3 cc cc cc cc cc 89 f6 31 d2 e9 26 d4 a5 03 66 0f 1f 44 00
RSP: 0018:ffffc90000007d30 EFLAGS: 00000046
RAX: 000000000003bbb8 RBX: ffff888121023c80 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000003bbb8 RDI: 0000000000000838
RBP: ffffc90000007df0 R08: 0000000000000100 R09: 0000000000080000
R10: 0000000000000000 R11: ffffffff81754510 R12: 000000000003bbb8
R13: dffffc0000000000 R14: 0000000010000d6b R15: 0000000000000020
FS:  0000000000000000(0000) GS:ffff88818d6d9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f75c6288000 CR3: 00000001bf02c000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x385/0x630
 __hrtimer_rearm_deferred+0x36c/0x4b0
 irqentry_exit+0x8d3/0x910
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80
Code: f7 e8 5d b5 bc f5 f7 c3 00 02 00 00 74 05 e8 50 f2 e8 f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> f4 ce ad f5 65 48 8b 05 9c 61 ad 07 48 85 c0 74 18 5b 41 5e c3
RSP: 0018:ffffc90000007f40 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000283 RCX: 8000000000000102
RDX: 0000000000000002 RSI: ffffffff8e47406c RDI: 0000000000000001
RBP: 0000000000000002 R08: ffffffff907a127f R09: 1ffffffff20f424f
R10: dffffc0000000000 R11: fffffbfff20f4250 R12: 0000000000000009
R13: 0000000000000008 R14: ffff888121028280 R15: 0000000000000100
 handle_softirqs+0x226/0x860
 do_softirq+0x77/0xd0
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x100/0x140
 batadv_dat_purge+0x2d7/0x3c0
 process_scheduled_works+0xc3d/0x1630
 worker_thread+0xa47/0xfb0
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30
 </TASK>
