INFO: task kworker/1:4:5129 blocked for more than 143 seconds.
Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:4 state:D stack:21808 pid:5129 tgid:5129 ppid:2 flags:0x00004000
Workqueue: events_power_efficient reg_check_chans_work
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0xf15/0x5c70 kernel/sched/core.c:6736
__schedule_loop kernel/sched/core.c:6813 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6828
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752
wiphy_lock include/net/cfg80211.h:5951 [inline]
reg_leave_invalid_chans net/wireless/reg.c:2466 [inline]
reg_check_chans_work+0x10a/0x1080 net/wireless/reg.c:2481
process_one_work+0x9a9/0x1a60 kernel/workqueue.c:3254
process_scheduled_works kernel/workqueue.c:3335 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
Showing all locks held in the system:
1 lock held by kthreadd/2:
4 locks held by kworker/0:0/7:
#0: ffff88802c889548 ((wq_completion)wg-kex-wg0#8){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229
#1: ffffc900000c7d80 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((typeof(*((worker))) *)((worker)))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230
#2: ffff88802c471228 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x1c3/0x880 drivers/net/wireguard/noise.c:598
#3: ffff888060f84e38 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x5ae/0x880 drivers/net/wireguard/noise.c:632
3 locks held by kworker/u8:0/10:
3 locks held by kworker/u8:1/11:
1 lock held by kworker/R-mm_pe/12:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
2 locks held by kworker/1:0/24:
1 lock held by khungtaskd/29:
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
1 lock held by kworker/R-write/31:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x420 kernel/workqueue.c:2712
3 locks held by kworker/u8:2/35:
#0: ffff8880298f7148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229
#1: ffffc90000ab7d80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230
#2: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4731
2 locks held by kworker/1:1/44:
3 locks held by kworker/u8:3/50:
3 locks held by kworker/u8:5/80:
4 locks held by kworker/1:2/782:
5 locks held by kworker/0:2/927:
3 locks held by kworker/u8:6/1083:
3 locks held by kworker/u8:7/1096:
1 lock held by kworker/R-mld/2613:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
5 locks held by kworker/R-bat_e/2748:
2 locks held by kworker/u8:8/2813:
2 locks held by jbd2/sda1-8/4476:
3 locks held by syslogd/4495:
1 lock held by klogd/4502:
3 locks held by dhcpcd/4726:
2 locks held by dhcpcd/4727:
2 locks held by getty/4816:
#0: ffff88802dfa00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015e02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
2 locks held by kworker/1:3/5053:
2 locks held by syz-fuzzer/5055:
2 locks held by syz-fuzzer/5058:
3 locks held by syz-fuzzer/5061:
3 locks held by syz-fuzzer/5073:
4 locks held by syz-fuzzer/5163:
1 lock held by syz-executor.0/5076:
4 locks held by syz-executor.4/5092:
1 lock held by kworker/R-wg-cr/5112:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
1 lock held by kworker/R-wg-cr/5113:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
1 lock held by kworker/R-wg-cr/5115:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
1 lock held by kworker/R-wg-cr/5116:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
1 lock held by kworker/R-wg-cr/5117:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
1 lock held by kworker/R-wg-cr/5118:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
1 lock held by kworker/R-wg-cr/5120:
2 locks held by kworker/0:3/5124:
1 lock held by kworker/R-wg-cr/5126:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
1 lock held by kworker/R-wg-cr/5127:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x95/0x3f0 kernel/workqueue.c:2751
4 locks held by kworker/1:4/5129:
#0: ffff888015079948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229
#1: ffffc9000407fd80 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230
#2: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7d/0x1080 net/wireless/reg.c:2478
#3: ffff88801c728768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5951 [inline]
#3: ffff88801c728768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_leave_invalid_chans net/wireless/reg.c:2466 [inline]
#3: ffff88801c728768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_check_chans_work+0x10a/0x1080 net/wireless/reg.c:2481
4 locks held by kworker/1:5/5131:
3 locks held by kworker/0:4/5132:
3 locks held by kworker/0:7/5135:
1 lock held by kworker/0:8/5162:
#0: ffffffff8d66a0c8 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x420 kernel/workqueue.c:2712
5 locks held by kworker/1:6/5184:
1 lock held by syz-executor.1/5360:
6 locks held by syz-executor.3/8573:
1 lock held by syz-executor.2/8580:
4 locks held by kworker/u8:9/8582:
2 locks held by kworker/1:7/8584:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2748 Comm: kworker/R-bat_e Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: bat_events batadv_purge_orig
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:55 [inline]
RIP: 0010:stack_access_ok+0x2f/0x270 arch/x86/kernel/unwind_orc.c:393
Code: 55 41 54 55 48 89 f5 53 48 89 fb 4c 8d 63 08 48 83 ec 10 48 89 54 24 08 e8 3e 64 50 00 4c 89 e2 48 b8 00 00 00 00 00 fc ff df <48> c1 ea 03 80 3c 02 00 0f 85 09 02 00 00 4c 8d 6b 10 4c 8b 73 08
RSP: 0018:ffffc900000075c0 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffc90000007688 RCX: ffffffff813c9d91
RDX: ffffc90000007690 RSI: ffffffff813c9472 RDI: ffffc90000007688
RBP: ffffc90000007ff8 R08: 0000000000000001 R09: 0000000000000009
R10: 0000000000000009 R11: 0000000000000004 R12: ffffc90000007690
R13: ffffc90000007ff8 R14: ffffffff902bcbdc R15: ffffc900000076bd
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb4bc13a968 CR3: 0000000023798000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline]
unwind_next_frame+0xa1a/0x23a0 arch/x86/kernel/unwind_orc.c:573
arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
unpoison_slab_object mm/kasan/common.c:312 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:338
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slub.c:3798 [inline]
slab_alloc_node mm/slub.c:3845 [inline]
kmem_cache_alloc_node+0x177/0x340 mm/slub.c:3888
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:577
__alloc_skb+0x164/0x380 net/core/skbuff.c:668
__netdev_alloc_skb+0x72/0x3f0 net/core/skbuff.c:732
netdev_alloc_skb include/linux/skbuff.h:3306 [inline]
dev_alloc_skb include/linux/skbuff.h:3319 [inline]
__ieee80211_beacon_get+0xc1f/0x16b0 net/mac80211/tx.c:5466
ieee80211_beacon_get_tim+0xa7/0x280 net/mac80211/tx.c:5588
ieee80211_beacon_get include/net/mac80211.h:5552 [inline]
mac80211_hwsim_beacon_tx+0x48d/0x880 drivers/net/wireless/virtual/mac80211_hwsim.c:2296
__iterate_interfaces+0x2d2/0x580 net/mac80211/util.c:772
ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:808
mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2326
__run_hrtimer kernel/time/hrtimer.c:1692 [inline]
__hrtimer_run_queues+0x20c/0xc20 kernel/time/hrtimer.c:1756
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1773
__do_softirq+0x218/0x8de kernel/softirq.c:554
do_softirq kernel/softirq.c:455 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:442
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_purge_orig_ref+0xec0/0x1520 net/batman-adv/originator.c:1287
batadv_purge_orig+0x19/0x60 net/batman-adv/originator.c:1300
process_one_work+0x9a9/0x1a60 kernel/workqueue.c:3254
process_scheduled_works kernel/workqueue.c:3335 [inline]
rescuer_thread+0x624/0xcf0 kernel/workqueue.c:3512
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243