INFO: task kworker/0:6:4141 blocked for more than 143 seconds. Not tainted 6.1.0-rc3-syzkaller-00058-gdd65a243a915 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:21624 pid:4141 ppid:2 flags:0x00004000 Workqueue: events request_firmware_work_func Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x979/0x2770 kernel/sched/core.c:6503 schedule+0xda/0x1b0 kernel/sched/core.c:6579 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6638 __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: ffffffff87a95f50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/25: #0: ffffffff87a96aa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6494 7 locks held by kworker/1:2/72: #0: ffff888109c84d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109c84d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109c84d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109c84d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109c84d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109c84d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000143fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f5ef190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f5ef190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x4810 drivers/usb/core/hub.c:5737 #3: ffff88811a098190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff88811a098190 (&dev->mutex){....}-{3:3}, at: usb_disconnect.cold+0x43/0x6ed drivers/usb/core/hub.c:2226 #4: ffff8881177f9118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff8881177f9118 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1073 [inline] #4: ffff8881177f9118 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa0/0x700 drivers/base/dd.c:1272 #5: ffffffff885d9268 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2219 #6: ffffffff87aa0c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #6: ffffffff87aa0c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x5db/0x770 kernel/rcu/tree_exp.h:946 5 locks held by kworker/0:2/1151: 2 locks held by getty/1224: #0: ffff888110dd9098 (&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 4 locks held by kworker/0:3/4071: 3 locks held by kworker/0:6/4141: #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: ffffc90001cefda8 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f664190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f664190 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1135 [inline] #2: ffff88810f664190 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_cb+0x3a9/0x530 drivers/net/wireless/ath/ath9k/hif_usb.c:1268 2 locks held by kworker/1:5/4229: #0: ffff888100066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888100066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888100066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888100066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90001dcfda8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 6 locks held by kworker/0:7/4577: 3 locks held by udevd/15554: #0: ffff88811f8b2088 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:236 [inline] #0: ffff88811f8b2088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x7a0 fs/kernfs/file.c:276 #1: ffff88811e253830 (kn->active#27){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:237 [inline] #1: ffff88811e253830 (kn->active#27){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x7a0 fs/kernfs/file.c:276 #2: ffff888129a39190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff888129a39190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:874 3 locks held by udevd/15555: #0: ffff888113683488 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:236 [inline] #0: ffff888113683488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x7a0 fs/kernfs/file.c:276 #1: ffff88810924ee88 (kn->active#27){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:237 [inline] #1: ffff88810924ee88 (kn->active#27){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x7a0 fs/kernfs/file.c:276 #2: ffff888118903190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff888118903190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:874 3 locks held by udevd/15575: #0: ffff888110d25888 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:236 [inline] #0: ffff888110d25888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x7a0 fs/kernfs/file.c:276 #1: ffff88810cdcc0f0 (kn->active#27){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:237 [inline] #1: ffff88810cdcc0f0 (kn->active#27){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x7a0 fs/kernfs/file.c:276 #2: ffff888118902190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:840 [inline] #2: ffff888118902190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:874 1 lock held by syz-executor.3/18741: #0: ffffffff87aa0c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff87aa0c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x24b/0x770 kernel/rcu/tree_exp.h:946 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 25 Comm: khungtaskd Not tainted 6.1.0-rc3-syzkaller-00058-gdd65a243a915 #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: 1165 Comm: udevd Not tainted 6.1.0-rc3-syzkaller-00058-gdd65a243a915 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0xdd/0x810 kernel/locking/lockdep.c:5679 Code: 0f 83 6c 05 00 00 45 89 f6 be 08 00 00 00 4c 89 f0 48 c1 e8 06 48 8d 3c c5 d0 c8 de 88 e8 0b c4 4f 00 4c 0f a3 35 d3 34 b4 07 <0f> 82 b6 04 00 00 48 c7 c3 2c da de 88 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc900005a7ac8 EFLAGS: 00000247 RAX: 0000000000000001 RBX: 0000000000000003 RCX: ffffffff812a93f5 RDX: fffffbfff11bd91b RSI: 0000000000000008 RDI: ffffffff88dec8d0 RBP: 1ffff920000b4f5b R08: 0000000000000000 R09: ffffffff88dec8d7 R10: fffffbfff11bd91a R11: 0000000000000000 R12: ffff888113ff1068 R13: ffffc900005a7d88 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f49fdc13840(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe3cc99a3be CR3: 000000010ff54000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_unlock_slowpath+0x99/0x5e0 kernel/locking/mutex.c:907 ep_send_events fs/eventpoll.c:1724 [inline] ep_poll fs/eventpoll.c:1821 [inline] do_epoll_wait+0x9fd/0x1950 fs/eventpoll.c:2256 __do_sys_epoll_wait fs/eventpoll.c:2268 [inline] __se_sys_epoll_wait fs/eventpoll.c:2263 [inline] __x64_sys_epoll_wait+0x158/0x270 fs/eventpoll.c:2263 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f49fdd78e46 Code: 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 e8 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 18 48 89 74 24 RSP: 002b:00007ffe1af39b28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 00007ffe1af39c28 RCX: 00007f49fdd78e46 RDX: 0000000000000008 RSI: 00007ffe1af39c28 RDI: 000000000000000b RBP: 0000561e4e3b7df0 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000bb8 R11: 0000000000000246 R12: 0000000000000bb8 R13: 0000561e4e3d9350 R14: 0000000000000000 R15: 0000000000000000