INFO: task kworker/0:40:15111 blocked for more than 143 seconds. Not tainted 6.2.0-rc2-syzkaller-00203-g1f5abbd77e2c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:40 state:D stack:27312 pid:15111 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:728 usb_kill_urb+0x83/0xa0 drivers/usb/core/urb.c:717 usb_start_wait_urb+0x24a/0x4b0 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x320/0x4a0 drivers/usb/core/message.c:153 hub_port_init+0x114c/0x3570 drivers/usb/core/hub.c:4872 hub_port_connect drivers/usb/core/hub.c:5334 [inline] hub_port_connect_change drivers/usb/core/hub.c:5549 [inline] port_event drivers/usb/core/hub.c:5709 [inline] hub_event+0x2b5d/0x4810 drivers/usb/core/hub.c:5791 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.0:348 blocked for more than 143 seconds. Not tainted 6.2.0-rc2-syzkaller-00203-g1f5abbd77e2c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28488 pid:348 ppid:5096 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6690 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 device_lock include/linux/device.h:831 [inline] usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd3f8c3df7b RSP: 002b:00007fff38c156f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fd3f8c3df7b RDX: 0000000000000000 RSI: 0000001b31830298 RDI: 0000000000000005 RBP: 00007fd3f8dad980 R08: 0000000000000000 R09: 000000002816550b R10: 0000000000000000 R11: 0000000000000293 R12: 00000000000f5375 R13: 00007fff38c157f0 R14: 00007fd3f8dac050 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8c78df70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffffffff8c78dc70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8c78eac0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by getty/4740: #0: ffff88802c586098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020282f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:16/5478: #0: ffff8880b983b5d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:537 #1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x930 kernel/sched/psi.c:976 5 locks held by kworker/0:40/15111: #0: ffff888017974538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888017974538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888017974538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888017974538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888017974538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888017974538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90005427da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88802298e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #2: ffff88802298e190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4810 drivers/usb/core/hub.c:5737 #3: ffff88801d2284f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3145 [inline] #3: ffff88801d2284f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5301 [inline] #3: ffff88801d2284f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5549 [inline] #3: ffff88801d2284f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5709 [inline] #3: ffff88801d2284f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x277c/0x4810 drivers/usb/core/hub.c:5791 #4: ffff888147238468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5302 [inline] #4: ffff888147238468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5549 [inline] #4: ffff888147238468 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5709 [inline] #4: ffff888147238468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27b1/0x4810 drivers/usb/core/hub.c:5791 1 lock held by syz-executor.0/348: #0: ffff88802298e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #0: ffff88802298e190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x4b0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.0/475: #0: ffff88802298e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #0: ffff88802298e190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.0/541: #0: ffff88802298e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #0: ffff88802298e190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1a1/0x920 drivers/usb/core/devio.c:1042 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc2-syzkaller-00203-g1f5abbd77e2c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 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: 5277 Comm: kworker/u4:10 Not tainted 6.2.0-rc2-syzkaller-00203-g1f5abbd77e2c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy3 ieee80211_iface_work RIP: 0010:cfg80211_update_known_bss+0x6da/0xa70 net/wireless/scan.c:1670 Code: 80 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 49 03 00 00 48 8b 83 80 00 00 00 48 89 04 24 <48> 8b 85 80 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 RSP: 0018:ffffc900055df550 EFLAGS: 00000246 RAX: ffff888027805080 RBX: ffff8880237dc000 RCX: 0000000000000000 RDX: 1ffff110046fb810 RSI: ffffffff8924d3ad RDI: ffff8880237dc080 RBP: ffffc900055df6c8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880237dc010 R14: 0000000000000001 R15: ffffc900055df748 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556e4b848 CR3: 000000000c48e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfg80211_bss_update+0xf3/0x21b0 net/wireless/scan.c:1728 cfg80211_inform_single_bss_frame_data+0x761/0xfc0 net/wireless/scan.c:2492 cfg80211_inform_bss_frame_data+0xc3/0xc80 net/wireless/scan.c:2525 ieee80211_bss_info_update+0x35c/0xaf0 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1120 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x19fc/0x3160 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1581 [inline] ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1635 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308