INFO: task kworker/u8:9:3980 blocked for more than 143 seconds. Not tainted 6.9.0-next-20240517-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:9 state:D stack:19632 pid:3980 tgid:3980 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_workqueue+0x7d6/0x1710 kernel/workqueue.c:3972 peer_remove_after_dead+0x9d/0x1a0 drivers/net/wireguard/peer.c:116 wg_peer_remove_all+0x453/0x4f0 drivers/net/wireguard/peer.c:183 wg_destruct+0x173/0x2e0 drivers/net/wireguard/device.c:254 netdev_run_todo+0xe1a/0x1000 net/core/dev.c:10692 default_device_exit_batch+0xa14/0xa90 net/core/dev.c:11760 ops_exit_list net/core/net_namespace.c:178 [inline] cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:640 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 3 locks held by kworker/u8:0/11: #0: ffff88802a853948 ( (wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] (wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000107d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000107d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e77c8 ( rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 1 lock held by khungtaskd/30: #0: ffffffff8e333e60 ( rcu_read_lock ){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] ){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] ){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u9:0/53: #0: ffff88806128a948 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88806128a948 ((wq_completion)hci0){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000bd7d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff8880595a4d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:309 5 locks held by kworker/u8:4/62: 4 locks held by kworker/u8:9/3980: #0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000d29fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000d29fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5daf90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffff88807b6a9408 ( &wg->device_update_lock){+.+.}-{3:3} , at: wg_destruct+0x110/0x2e0 drivers/net/wireguard/device.c:249 2 locks held by getty/4850: #0: ffff88802a9be0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 ( &ldata->atomic_read_lock ){+.+.}-{3:3} , at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 8 locks held by kworker/1:4/5183: 2 locks held by kworker/u8:8/11657: 3 locks held by kworker/0:9/12316: #0: ffff888015080948 ( (wq_completion)events ){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000380fd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000380fd00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 7 locks held by kworker/1:10/12322: 2 locks held by kworker/1:11/12323: 2 locks held by kworker/1:12/12324: 3 locks held by kworker/0:14/12331: #0: ffff888015080948 ( (wq_completion)events ){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900035e7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900035e7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e77c8 ( rtnl_mutex){+.+.}-{3:3} , at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by kworker/1:14/12354: 2 locks held by kworker/1:16/12362: 1 lock held by syz-executor.4/14829: #0: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3500 8 locks held by syz-executor.1/14831: #0: ffff888030362420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff8880687bac88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff88802308d008 (kn->active#50 ){.+.+}-{0:0} , at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8eef5668 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88806a59a0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1290 #5: ffff88806a59c250 (&devlink->lock_key#29){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:772 #7: ffffffff8e1ce470 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:5983 [inline] (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many_notify+0x607/0x16e0 net/core/dev.c:11200 1 lock held by syz-executor.3/14864: #0: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.4/14880: #0: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.1/14882: #0: ffffffff8f5e77c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.0/14885: #0: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 2 locks held by syz-executor.2/14888: #0: ffffffff8f5daf90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x7b0 net/core/net_namespace.c:504 #1: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x20e/0x710 net/ipv4/ip_tunnel.c:1159 1 lock held by syz-executor.3/14900: #0: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.4/14904: #0: ffffffff8f5e77c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.1/14906: #0: ffffffff8f5e77c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.0/14910: #0: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.2/14913: #0: ffffffff8f5e77c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.9.0-next-20240517-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 NMI backtrace for cpu 1 CPU: 1 PID: 5183 Comm: kworker/1:4 Not tainted 6.9.0-next-20240517-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: wg-crypt-wg1 wg_packet_tx_worker RIP: 0010:put_dec+0xc9/0xe0 lib/vsprintf.c:298 Code: d3 48 c1 eb 33 4c 89 f7 44 89 fe e8 41 bc 00 00 49 89 c6 eb 0f e8 37 fa 11 f6 eb 08 e8 30 fa 11 f6 4c 89 fb 4c 89 f7 89 de 5b <41> 5c 41 5d 41 5e 41 5f e9 0a bf 00 00 66 2e 0f 1f 84 00 00 00 00 RSP: 0018:ffffc90000a17c58 EFLAGS: 00000046 RAX: ffffffff8b846c29 RBX: ffffc90000a17d00 RCX: ffff888029dd5a00 RDX: 0000000080010002 RSI: 00000000000003bc RDI: ffffc90000a17d00 RBP: ffffc90000a17d90 R08: ffffffff8b846b91 R09: 0000000000000000 R10: ffffc90000a17d00 R11: fffff52000142fa3 R12: 00000000ffff0a00 R13: dffffc0000000000 R14: ffffc90000a17d00 R15: ffffc90000a180e1 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c921000 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: number+0x337/0xf90 lib/vsprintf.c:511 vsnprintf+0x1542/0x1da0 lib/vsprintf.c:2890 sprintf+0xda/0x120 lib/vsprintf.c:3028 print_time kernel/printk/printk.c:1327 [inline] info_print_prefix+0x16b/0x310 kernel/printk/printk.c:1353 record_print_text kernel/printk/printk.c:1402 [inline] printk_get_next_message+0x6da/0xbe0 kernel/printk/printk.c:2855 console_emit_next_record kernel/printk/printk.c:2895 [inline] console_flush_all+0x410/0xfd0 kernel/printk/printk.c:2994 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3063 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2345 dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4951 dev_printk_emit+0xdd/0x120 drivers/base/core.c:4962 _dev_err+0x122/0x170 drivers/base/core.c:5017 urb_irq_callback+0x37e/0x5b0 drivers/input/misc/yealink.c:416 __usb_hcd_giveback_urb+0x373/0x530 drivers/usb/core/hcd.c:1648 dummy_timer+0x830/0x45d0 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:raw_spin_rq_unlock_irq+0x19/0x90 kernel/sched/sched.h:1419 Code: 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 53 48 89 fb 66 90 48 89 df e8 5e bc 2d 0a e8 a9 6d 35 00 fb 5b <41> 5e 41 5f c3 cc cc cc cc f3 0f 1e fa 49 bf 00 00 00 00 00 fc ff RSP: 0018:ffffc90004467728 EFLAGS: 00000282 RAX: a79f7db357357300 RBX: ffff8880b953e7c0 RCX: ffffffff81730d7a RDX: dffffc0000000000 RSI: ffffffff8bcab960 RDI: ffffffff8c1fe400 RBP: ffffc90004467950 R08: ffffffff92fb8677 R09: 1ffffffff25f70ce R10: dffffc0000000000 R11: fffffbfff25f70cf R12: ffffc900044678d0 R13: 0000000000000000 R14: ffff888029dd6170 R15: ffff888029dd5a00 __schedule+0x1a22/0x4a50 kernel/sched/core.c:6749 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6924 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __local_bh_enable_ip+0x179/0x200 kernel/softirq.c:389 keep_key_fresh drivers/net/wireguard/send.c:138 [inline] wg_packet_create_data_done drivers/net/wireguard/send.c:259 [inline] wg_packet_tx_worker+0x705/0x810 drivers/net/wireguard/send.c:276 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71 yealink 5-1:36.0: unexpected response 0 yealink 5-1:36.0: urb_ctl_callback - urb status -71 yealink 5-1:36.0: urb_irq_callback - urb status -71