INFO: task kworker/1:3:5838 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:3     state:D stack:22984 pid:5838  tgid:5838  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: events_power_efficient reg_check_chans_work
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 reg_check_chans_work+0x170/0xf40
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/u8:0/12:
 #0: ffff888170fdc148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90000117ba0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f4dfb88 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
5 locks held by kworker/u8:1/13:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13d2e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
4 locks held by kworker/1:1/51:
3 locks held by kworker/u10:1/70:
2 locks held by kworker/u10:2/173:
3 locks held by kworker/u10:3/189:
2 locks held by kworker/1:2/794:
3 locks held by kworker/u9:5/1091:
3 locks held by kworker/u9:8/1096:
3 locks held by syslogd/5239:
2 locks held by udevd/5257:
2 locks held by dhcpcd/5553:
2 locks held by getty/5636:
 #0: ffff8881735f00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900032402f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
4 locks held by kworker/1:3/5838:
 #0: ffff888100076948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90004c97ba0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f4dfb88 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0xa1/0xf40
 #3: ffff88816ce40788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_check_chans_work+0x170/0xf40
2 locks held by kworker/0:4/5858:
2 locks held by kworker/1:5/5872:
2 locks held by kworker/1:6/5874:
3 locks held by kworker/0:6/5929:
 #0: ffff888100075948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90005457ba0 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f4dfb88 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20
3 locks held by kworker/u10:4/5939:
3 locks held by kworker/u9:12/5976:
2 locks held by syz-executor/6315:
3 locks held by kworker/u10:5/6622:
3 locks held by kworker/u10:6/6624:
3 locks held by kworker/u10:7/6627:
4 locks held by udevd/6649:
6 locks held by syz.7.456/8117:
3 locks held by kworker/u10:9/8123:
4 locks held by syz-executor/8125:
3 locks held by kworker/u10:12/8127:
3 locks held by syz-executor/8129:
2 locks held by kworker/1:8/8130:

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

NMI backtrace for cpu 1
CPU: 1 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+0xf60/0xfa0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 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: 13 Comm: kworker/u8:1 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:__lock_acquire+0x4ff/0xd20
Code: 44 89 e0 48 ff c3 48 63 8f 28 0b 00 00 49 83 c7 28 41 89 c4 48 39 cb 0f 8d d6 00 00 00 48 83 fb 31 0f 83 92 00 00 00 41 8b 07 <25> ff 1f 00 00 48 0f a3 05 04 59 fb 11 73 10 48 69 c0 c8 00 00 00
RSP: 0018:ffffc90000006328 EFLAGS: 00000083
RAX: 0000000000022007 RBX: 0000000000000004 RCX: 0000000000000005
RDX: 0000000000000003 RSI: 0000000000000003 RDI: ffff888102698000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8173cd25
R10: ffffc90000006578 R11: ffffffff81ac6cd0 R12: 0000000000000003
R13: 0000000000000001 R14: ffff888102698bf8 R15: ffff888102698bf0
FS:  0000000000000000(0000) GS:ffff88818e70c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055559194f350 CR3: 000000019e4bc000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 lock_acquire+0x120/0x360
 unwind_next_frame+0xc2/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+0x5c/0x80
 kmem_cache_free+0x19b/0x690
 br_nf_dev_queue_xmit+0x4ec/0x2580
 NF_HOOK+0x61b/0x6b0
 br_nf_post_routing+0xb66/0xfe0
 nf_hook_slow+0xc5/0x220
 NF_HOOK+0x215/0x3c0
 br_forward_finish+0xd3/0x130
 br_nf_forward_finish+0xa40/0xe60
 NF_HOOK+0x61b/0x6b0
 br_nf_forward_ip+0x647/0x7e0
 nf_hook_slow+0xc5/0x220
 NF_HOOK+0x215/0x3c0
 __br_forward+0x41e/0x600
 br_handle_frame_finish+0x15a3/0x1c50
 br_nf_hook_thresh+0x3c6/0x4a0
 br_nf_pre_routing_finish_ipv6+0x999/0xd60
 br_nf_pre_routing_ipv6+0x37e/0x6b0
 br_handle_frame+0x982/0x14c0
 __netif_receive_skb_core+0x10b9/0x4380
 __netif_receive_skb+0x72/0x380
 process_backlog+0x60e/0x14f0
 __napi_poll+0xc7/0x360
 net_rx_action+0x5f7/0xdf0
 handle_softirqs+0x286/0x870
 do_softirq+0xec/0x180
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x17d/0x1c0
 batadv_dat_purge+0x2da/0x3c0
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30
 </TASK>
