INFO: task kworker/1:1:24 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00131-g7428a253315c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:22896 pid:24 ppid:2 flags:0x00004000 Workqueue: events request_firmware_work_func Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x979/0x2770 kernel/sched/core.c:6521 schedule+0xda/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa44/0x1350 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1135 [inline] ath9k_hif_usb_firmware_cb+0x3a9/0x530 drivers/net/wireless/ath/ath9k/hif_usb.c:1268 request_firmware_work_func+0x12c/0x230 drivers/base/firmware_loader/main.c:1107 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2ea/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff87a960d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 5 locks held by kworker/1:0/20: #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000015fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f9a9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f9a9190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x4810 drivers/usb/core/hub.c:5737 #3: ffff88810f9ac4f0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3145 [inline] #3: ffff88810f9ac4f0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5301 [inline] #3: ffff88810f9ac4f0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5549 [inline] #3: ffff88810f9ac4f0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5709 [inline] #3: ffff88810f9ac4f0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2778/0x4810 drivers/usb/core/hub.c:5791 #4: ffff88810eaf2568 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5302 [inline] #4: ffff88810eaf2568 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5549 [inline] #4: ffff88810eaf2568 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5709 [inline] #4: ffff88810eaf2568 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27ad/0x4810 drivers/usb/core/hub.c:5791 3 locks held by kworker/1:1/24: #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900001a7da8 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f9c9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f9c9190 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1135 [inline] #2: ffff88810f9c9190 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_cb+0x3a9/0x530 drivers/net/wireless/ath/ath9k/hif_usb.c:1268 1 lock held by khungtaskd/26: #0: ffffffff87a96c20 (rcu_read_lock){....}-{1:2} , at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6494 2 locks held by getty/1224: #0: ffff88810ec83098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900000452f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 3 locks held by udevd/6750: #0: ffff88810fb44088 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:236 [inline] #0: ffff88810fb44088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x7a0 fs/kernfs/file.c:276 #1: ffff888110a262c0 (kn->active#27){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:237 [inline] #1: ffff888110a262c0 (kn->active#27){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x7a0 fs/kernfs/file.c:276 #2: ffff888109927190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff888109927190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:874 5 locks held by kworker/1:3/6786: #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90001837da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f839190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f839190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x4810 drivers/usb/core/hub.c:5737 #3: ffff888125716190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff888125716190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 #4: ffff88812677e118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff88812677e118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 3 locks held by kworker/1:4/6807: #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900019dfda8 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f959190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f959190 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1135 [inline] #2: ffff88810f959190 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_cb+0x3a9/0x530 drivers/net/wireless/ath/ath9k/hif_usb.c:1268 5 locks held by kworker/1:5/6822: #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109bc7138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90001c9fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f9c9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f9c9190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x4810 drivers/usb/core/hub.c:5737 #3: ffff888110433190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff888110433190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 #4: ffff88812654a118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff88812654a118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 3 locks held by udevd/6848: #0: ffff8881173d1888 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:236 [inline] #0: ffff8881173d1888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x7a0 fs/kernfs/file.c:276 #1: ffff88811ba3be88 (kn->active#27){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:237 [inline] #1: ffff88811ba3be88 (kn->active#27){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x7a0 fs/kernfs/file.c:276 #2: ffff888125716190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff888125716190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:874 5 locks held by kworker/0:6/6901: 4 locks held by kworker/1:2/10468: 1 lock held by syz-executor.1/11745: #0: ffff888116822068 (&dev->mutex#3){+.+.}-{3:3} , at: ld_usb_read+0x12a/0x830 drivers/usb/misc/ldusb.c:452 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 6.1.0-rc7-syzkaller-00131-g7428a253315c #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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x32f/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+0xc71/0xfc0 kernel/hung_task.c:377 kthread+0x2ea/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 20 Comm: kworker/1:0 Not tainted 6.1.0-rc7-syzkaller-00131-g7428a253315c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: usb_hub_wq hub_event RIP: 0010:tick_sched_do_timer+0x110/0x470 kernel/time/tick-sched.c:206 Code: 49 39 ed 0f 84 a6 00 00 00 e8 dc 21 0c 00 48 8d bb d8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e 98 02 00 00 48 8b 05 ed 33 46 06 c7 83 d8 RSP: 0018:ffffc90000178dc0 EFLAGS: 00000806 RAX: 0000000000000000 RBX: ffff8881f692ab00 RCX: 0000000000000000 RDX: 1ffff1103ed2557b RSI: ffffffff813abde4 RDI: ffff8881f692abd8 RBP: 0000000100007608 R08: 0000000000000006 R09: 0000000100007607 R10: 0000000100007608 R11: 0000000000000000 R12: 0000008c87d6e68b R13: 0000000100007607 R14: ffffffff8780f200 R15: ffff8881f692abd0 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6fb4313110 CR3: 0000000136bf8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tick_sched_timer+0x35/0x120 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c6/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x17c/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x89/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:207 Code: 48 89 ef 5d e9 b1 ff 1e 00 5d be 03 00 00 00 e9 46 43 d0 00 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 b9 8e bb 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc9000015f6a0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9000f362000 RDX: 0000000000040000 RSI: ffffffff812cede1 RDI: 0000000000000007 RBP: ffffc9000015f6e0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000000 R12: 000000000000003b R13: ffff88810089d4c0 R14: 0000000000000200 R15: ffffc9000015f800 console_trylock_spinning kernel/printk/printk.c:1919 [inline] vprintk_emit+0x3f7/0x5f0 kernel/printk/printk.c:2267 dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4736 dev_printk_emit+0xba/0xf1 drivers/base/core.c:4747 __dev_printk+0xcf/0xf5 drivers/base/core.c:4759 _dev_info+0xd7/0x109 drivers/base/core.c:4805 hub_port_init.cold+0x335/0x372 drivers/usb/core/hub.c:4806 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+0x2b59/0x4810 drivers/usb/core/hub.c:5791 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2ea/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306