INFO: task kworker/1:17:25230 blocked for more than 143 seconds.
Not tainted 6.5.0-rc1-next-20230710-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:17 state:D stack:27168 pid:25230 ppid:2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_verify_work
Call Trace:
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6709
schedule+0xde/0x1a0 kernel/sched/core.c:6785
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4629
process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748
kthread+0x344/0x440 kernel/kthread.c:389
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.1:357 blocked for more than 143 seconds.
Not tainted 6.5.0-rc1-next-20230710-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:24336 pid:357 ppid:1 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6709
schedule+0xde/0x1a0 kernel/sched/core.c:6785
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
wiphy_lock include/net/cfg80211.h:5773 [inline]
reg_process_self_managed_hints+0x78/0x170 net/wireless/reg.c:3181
wiphy_register+0x20e1/0x2ad0 net/wireless/core.c:983
ieee80211_register_hw+0x23c1/0x40e0 net/mac80211/main.c:1392
mac80211_hwsim_new_radio+0x26e6/0x4c70 drivers/net/wireless/virtual/mac80211_hwsim.c:5303
hwsim_new_radio_nl+0xacf/0x1210 drivers/net/wireless/virtual/mac80211_hwsim.c:5983
genl_family_rcv_msg_doit.isra.0+0x1e6/0x2d0 net/netlink/genetlink.c:970
genl_family_rcv_msg net/netlink/genetlink.c:1050 [inline]
genl_rcv_msg+0x4ff/0x7e0 net/netlink/genetlink.c:1067
netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2549
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1078
netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365
netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1914
sock_sendmsg_nosec net/socket.c:725 [inline]
sock_sendmsg+0xde/0x190 net/socket.c:748
__sys_sendto+0x254/0x350 net/socket.c:2134
__do_sys_sendto net/socket.c:2146 [inline]
__se_sys_sendto net/socket.c:2142 [inline]
__x64_sys_sendto+0xe1/0x1b0 net/socket.c:2142
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98dfc3e2ac
RSP: 002b:00007fff2f812e70 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f98e08d4620 RCX: 00007f98dfc3e2ac
RDX: 0000000000000024 RSI: 00007f98e08d4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fff2f812ec4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007f98e08d4670 R14: 0000000000000003 R15: 0000000000000000
INFO: task kworker/0:0:367 blocked for more than 144 seconds.
Not tainted 6.5.0-rc1-next-20230710-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0 state:D stack:27136 pid:367 ppid:2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_dad_work
Call Trace:
context_switch kernel/sched/core.c:5380 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6709
schedule+0xde/0x1a0 kernel/sched/core.c:6785
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747
addrconf_dad_work+0xa7/0x1390 net/ipv6/addrconf.c:4087
process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748
kthread+0x344/0x440 kernel/kthread.c:389
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c9a4170 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c9a3e70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
4 locks held by kworker/1:0/22:
4 locks held by kworker/1:1/26:
1 lock held by khungtaskd/28:
#0: ffffffff8c9a4d80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615
4 locks held by kworker/1:2/1470:
2 locks held by getty/4778:
#0: ffff88802a130098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015872f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf08/0x13f0 drivers/tty/n_tty.c:2187
4 locks held by kworker/1:3/5121:
4 locks held by kworker/1:4/5122:
7 locks held by kworker/1:6/5127:
4 locks held by kworker/1:7/5128:
2 locks held by kworker/1:12/21911:
3 locks held by kworker/1:13/21991:
5 locks held by kworker/1:14/22618:
3 locks held by kworker/1:15/23181:
4 locks held by kworker/1:16/23548:
3 locks held by kworker/1:17/25230:
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567
#1: ffffc900031efdb0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571
#2: ffffffff8e3d3668 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4629
3 locks held by kworker/1:18/29938:
1 lock held by syz-executor.1/302:
4 locks held by syz-executor.1/357:
#0: ffffffff8e46cf90 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1077
#1: ffffffff8e46d048 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8e46d048 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x51a/0x7e0 net/netlink/genetlink.c:1065
#2: ffffffff8e3d3668 (rtnl_mutex){+.+.}-{3:3}, at: wiphy_register+0x1f53/0x2ad0 net/wireless/core.c:962
#3: ffff888087d30768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5773 [inline]
#3: ffff888087d30768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_process_self_managed_hints+0x78/0x170 net/wireless/reg.c:3181
3 locks held by kworker/0:0/367:
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff88814a6dd138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567
#1: ffffc90003697db0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571
#2: ffffffff8e3d3668 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xa7/0x1390 net/ipv6/addrconf.c:4087
4 locks held by kworker/0:2/369:
#0: ffff888023dc6538 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888023dc6538 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888023dc6538 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888023dc6538 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888023dc6538 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline]
#0: ffff888023dc6538 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline]
#0: ffff888023dc6538 ((wq_completion)wg-kex-wg2#10){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567
#1: ffffc900036b7db0 ((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+0x930/0x16f0 kernel/workqueue.c:2571
#2: ffff888081c75208 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0xbd/0x790 drivers/net/wireguard/noise.c:598
#3: ffff88802c0944a0 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x4b8/0x790 drivers/net/wireguard/noise.c:632
1 lock held by syz-executor.1/376:
#0: ffffffff8e3d3668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e3d3668 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
1 lock held by syz-executor.1/388:
#0: ffffffff8e3d3668 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e3d3668 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc1-next-20230710-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:389
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5128 Comm: kworker/1:7 Not tainted 6.5.0-rc1-next-20230710-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
Workqueue: events cfg80211_wiphy_work
RIP: 0010:match_held_lock+0x77/0xc0 kernel/locking/lockdep.c:5238
Code: 53 20 81 e2 ff 1f 00 00 48 39 d0 0f 94 c0 48 83 c4 08 0f b6 c0 5b c3 31 f6 e8 65 fe ff ff 48 85 c0 75 b2 31 c0 48 83 c4 08 5b 48 83 c4 08 b8 01 00 00 00 5b c3 e8 08 1b f3 f9 85 c0 74 e4 8b
RSP: 0018:ffffc900001dfb38 EFLAGS: 00000096
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8c9a4d80 RDI: ffff8880283fa8d8
RBP: ffffffff8c9a4d80 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880283f9dc0
R13: ffff8880283fa888 R14: 00000000ffffffff R15: ffff8880283fa8d8
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000491c88 CR3: 00000000187af000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_is_held kernel/locking/lockdep.c:5502 [inline]
lock_is_held_type+0xab/0x140 kernel/locking/lockdep.c:5832
__find_rr_leaf+0x3a2/0xdc0 net/ipv6/route.c:793
find_rr_leaf net/ipv6/route.c:849 [inline]
rt6_select net/ipv6/route.c:893 [inline]
fib6_table_lookup+0x62e/0xa20 net/ipv6/route.c:2181
ip6_pol_route+0x1c9/0x1230 net/ipv6/route.c:2217
pol_lookup_func include/net/ip6_fib.h:576 [inline]
fib6_rule_lookup+0x115/0x6e0 net/ipv6/fib6_rules.c:116
ip6_route_input_lookup net/ipv6/route.c:2286 [inline]
ip6_route_input+0x5d8/0xbb0 net/ipv6/route.c:2582
ip6_rcv_finish_core.constprop.0+0x1a4/0x5d0 net/ipv6/ip6_input.c:66
ip6_rcv_finish+0x130/0x2c0 net/ipv6/ip6_input.c:77
ip_sabotage_in+0x22a/0x2a0 net/bridge/br_netfilter_hooks.c:880
nf_hook_entry_hookfn include/linux/netfilter.h:143 [inline]
nf_hook_slow+0xc9/0x1f0 net/netfilter/core.c:626
nf_hook.constprop.0+0x408/0x710 include/linux/netfilter.h:258
NF_HOOK include/linux/netfilter.h:301 [inline]
ipv6_rcv+0xa2/0x380 net/ipv6/ip6_input.c:309
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5452
__netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5566
netif_receive_skb_internal net/core/dev.c:5652 [inline]
netif_receive_skb+0x133/0x7a0 net/core/dev.c:5711
NF_HOOK include/linux/netfilter.h:303 [inline]
NF_HOOK include/linux/netfilter.h:297 [inline]
br_pass_frame_up+0x303/0x430 net/bridge/br_input.c:68
br_handle_frame_finish+0xd1f/0x1de0 net/bridge/br_input.c:216
br_nf_hook_thresh+0x2fb/0x3f0 net/bridge/br_netfilter_hooks.c:1048
br_nf_pre_routing_finish_ipv6+0x695/0xf30 net/bridge/br_netfilter_ipv6.c:148
NF_HOOK include/linux/netfilter.h:303 [inline]
br_nf_pre_routing_ipv6+0x41b/0x830 net/bridge/br_netfilter_ipv6.c:178
br_nf_pre_routing+0xda4/0x1520 net/bridge/br_netfilter_hooks.c:508
nf_hook_entry_hookfn include/linux/netfilter.h:143 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:272 [inline]
br_handle_frame+0xac1/0x1440 net/bridge/br_input.c:417
__netif_receive_skb_core+0xa10/0x3900 net/core/dev.c:5346
__netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5450
__netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5566
process_backlog+0x101/0x670 net/core/dev.c:5894
__napi_poll+0xb7/0x6f0 net/core/dev.c:6460
napi_poll net/core/dev.c:6527 [inline]
net_rx_action+0x8a9/0xcb0 net/core/dev.c:6660
__do_softirq+0x1d4/0x905 kernel/softirq.c:553
do_softirq.part.0+0x87/0xc0 kernel/softirq.c:454
do_softirq kernel/softirq.c:446 [inline]
__local_bh_enable_ip+0x106/0x130 kernel/softirq.c:381
spin_unlock_bh include/linux/spinlock.h:396 [inline]
cfg80211_put_bss+0x1b4/0x280 net/wireless/scan.c:2959
ieee80211_rx_bss_put net/mac80211/scan.c:37 [inline]
ieee80211_rx_bss_put+0x43/0x60 net/mac80211/scan.c:32
ieee80211_rx_bss_info net/mac80211/ibss.c:1196 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1613 [inline]
ieee80211_ibss_rx_queued_mgmt+0x1b5b/0x3080 net/mac80211/ibss.c:1642
ieee80211_iface_process_skb net/mac80211/iface.c:1604 [inline]
ieee80211_iface_work+0xa4a/0xd70 net/mac80211/iface.c:1658
cfg80211_wiphy_work+0x253/0x330 net/wireless/core.c:435
process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748
kthread+0x344/0x440 kernel/kthread.c:389
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308