INFO: task kworker/u8:11:8967 blocked for more than 143 seconds. Not tainted 6.10.0-rc7-syzkaller-00003-g4376e966ecb7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:11 state:D stack:28416 pid:8967 tgid:8967 ppid:2 flags:0x00004000 Workqueue: wg-kex-wg1 wg_packet_handshake_send_worker Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 wg_noise_handshake_create_initiation+0x101/0x650 drivers/net/wireguard/noise.c:530 wg_packet_send_handshake_initiation+0x19c/0x360 drivers/net/wireguard/send.c:34 wg_packet_handshake_send_worker+0x1c/0x30 drivers/net/wireguard/send.c:51 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3248 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x6c8/0xf30 kernel/workqueue.c:3409 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 7 locks held by kworker/0:1/9: 1 lock held by khungtaskd/31: #0: ffffffff8dbb1620 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] ffffffff8dbb1620 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] ffffffff8dbb1620 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 4 locks held by kworker/1:2/784: #0: ffff88807a532d48 ((wq_completion)wg-kex-wg1#14){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3223 #1: ffffc90003b5fd80 ( (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+0x921/0x1b40 kernel/workqueue.c:3224 #2: ffff888011eb5228 ( &wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x1c3/0x880 drivers/net/wireguard/noise.c:598 #3: ffff888063d6a8b8 ( &handshake->lock ){++++}-{3:3} , at: wg_noise_handshake_consume_initiation+0x5ae/0x880 drivers/net/wireguard/noise.c:632 11 locks held by kworker/0:2/785: 4 locks held by kworker/u8:5/1089: #0: ffff8880162d3148 ( (wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3223 #1: ffffc900049c7d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3224 #2: ffffffff8f732e90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:594 #3: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x230 drivers/net/wireguard/device.c:414 2 locks held by getty/4835: #0: ffff88802ac3c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 ( &ldata->atomic_read_lock){+.+.}-{3:3} , at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:3/5126: 3 locks held by kworker/0:4/5132: 7 locks held by kworker/0:5/5134: 3 locks held by kworker/1:6/5165: #0: ffff888015480948 ( (wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3223 #1: ffffc9000399fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3224 #2: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 1 lock held by syz.4.949/8942: #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3500 2 locks held by syz.0.950/8944: #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3500 #1: ffffffff8da555d0 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:5984 [inline] #1: ffffffff8da555d0 (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many_notify+0x531/0x19f0 net/core/dev.c:11201 4 locks held by kworker/u8:11/8967: #0: ffff888063fc4948 ( (wq_completion)wg-kex-wg1 #13){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3223 #1: ffffc90003467d80 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3224 #2: ffff888011eb5228 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xed/0x650 drivers/net/wireguard/noise.c:529 #3: ffff888063d6a8b8 ( &handshake->lock ){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0x101/0x650 drivers/net/wireguard/noise.c:530 1 lock held by syz-executor/8988: #0: ffffffff8f748128 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/8990: #0: ffffffff8f748128 ( rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/8992: #0: ffffffff8f748128 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/8995: #0: ffffffff8f748128 ( rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/8997: #0: ffffffff8f748128 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/9000: #0: ffffffff8f748128 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/9003: #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/9006: #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/9009: #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/9012: #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/9015: #0: ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] ffffffff8f748128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 1 lock held by syz-executor/9018: #0: ffffffff8f748128 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6632 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 31 Comm: khungtaskd Not tainted 6.10.0-rc7-syzkaller-00003-g4376e966ecb7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: yealink 3-1:36.0: urb_irq_callback - urb status -71 NMI backtrace for cpu 0 CPU: 0 PID: 7204 Comm: kworker/0:2H Not tainted 6.10.0-rc7-syzkaller-00003-g4376e966ecb7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_highpri flush_backlog RIP: 0010:io_serial_in+0x87/0xb0 drivers/tty/serial/8250/8250_port.c:407 Code: b9 90 fc 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 1a 66 03 5d 40 89 da ec <5b> 0f b6 c0 5d 41 5c c3 cc cc cc cc e8 08 7b ec fc eb a2 e8 91 7b RSP: 0018:ffffc90000006bb8 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff84fd2b80 RDI: ffffffff94dd71a0 RBP: ffffffff94dd7160 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000006 R12: 0000000000000000 R13: 0000000000000020 R14: fffffbfff29bae86 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cfe6ff8 CR3: 000000000d97a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:117 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:139 [inline] wait_for_lsr+0xda/0x180 drivers/tty/serial/8250/8250_port.c:2068 serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0xca3/0x1090 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2913 [inline] console_flush_all+0x53c/0xd70 kernel/printk/printk.c:2979 console_unlock+0xae/0x290 kernel/printk/printk.c:3048 vprintk_emit kernel/printk/printk.c:2348 [inline] vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2303 dev_vprintk_emit drivers/base/core.c:4909 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4920 __dev_printk+0xf5/0x270 drivers/base/core.c:4932 _dev_err+0xe5/0x120 drivers/base/core.c:4975 urb_irq_callback+0x454/0x700 drivers/input/misc/yealink.c:416 __usb_hcd_giveback_urb+0x389/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x17f6/0x3900 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x43/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x18/0x90 kernel/kcov.c:236 Code: 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 49 89 f1 65 48 8b 15 1f fb 75 7e 65 8b 05 20 fb 75 7e 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 1c 16 00 00 85 c0 74 4f RSP: 0018:ffffc90000007728 EFLAGS: 00000246 RAX: 0000000000000102 RBX: ffffc900000077b0 RCX: ffffffff813cd8ff RDX: ffff888029dada00 RSI: ffffffff81e97841 RDI: 0000000000000006 RBP: 0000000000000002 R08: 0000000000000006 R09: ffffffff81e97841 R10: ffffffff8b200000 R11: 0000000000000003 R12: ffffffff81e97841 R13: 0000000000000000 R14: ffffc90000007870 R15: ffffc900000077e5 orc_find arch/x86/kernel/unwind_orc.c:206 [inline] unwind_next_frame+0x1ff/0x23a0 arch/x86/kernel/unwind_orc.c:494 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 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:579 poison_slab_object+0xf7/0x160 mm/kasan/common.c:240 __kasan_slab_free+0x32/0x50 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2196 [inline] slab_free mm/slub.c:4438 [inline] kmem_cache_free+0x12f/0x3a0 mm/slub.c:4513 skb_kfree_head net/core/skbuff.c:1067 [inline] skb_kfree_head net/core/skbuff.c:1064 [inline] skb_free_head+0x18a/0x1d0 net/core/skbuff.c:1081 skb_release_data+0x75c/0x980 net/core/skbuff.c:1108 skb_release_all net/core/skbuff.c:1173 [inline] __kfree_skb net/core/skbuff.c:1187 [inline] consume_skb net/core/skbuff.c:1409 [inline] consume_skb+0xd0/0x170 net/core/skbuff.c:1403 mac80211_hwsim_tx_frame+0x1f3/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim.c:2207 __mac80211_hwsim_beacon_tx drivers/net/wireless/virtual/mac80211_hwsim.c:2223 [inline] mac80211_hwsim_beacon_tx+0x592/0xa00 drivers/net/wireless/virtual/mac80211_hwsim.c:2306 __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:2336 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1770 handle_softirqs+0x216/0x8f0 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 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3248 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x6c8/0xf30 kernel/workqueue.c:3409 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 yealink 3-1:36.0: unexpected response 0 yealink 3-1:36.0: urb_ctl_callback - urb status -71 yealink 3-1:36.0: urb_irq_callback - urb status -71 yealink 3-1:36.0: unexpected response 0 yealink 3-1:36.0: urb_ctl_callback - urb status -71 yealink 3-1:36.0: urb_irq_callback - urb status -71 yealink 3-1:36.0: unexpected response 0 yealink 3-1:36.0: urb_ctl_callback - urb status -71 yealink 3-1:36.0: urb_irq_callback - urb status -71