INFO: task kworker/1:2:83 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:2 D21968 83 2 0x80004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 __sched_text_start+0x8/0x8 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4217 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x87c/0x1360 kernel/locking/mutex.c:1103 input_disconnect_device drivers/input/input.c:733 [inline] __input_unregister_device+0x23/0x430 drivers/input/input.c:2086 usb_poison_urb+0x2a0/0x2a0 drivers/usb/core/urb.c:736 mutex_trylock+0x2c0/0x2c0 kernel/locking/mutex.c:126 finish_wait+0x260/0x260 include/linux/list.h:301 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 usb_free_urb+0x1b/0x30 drivers/usb/core/urb.c:95 __read_once_size include/linux/compiler.h:199 [inline] list_empty include/linux/list.h:282 [inline] usb_hcd_flush_endpoint+0x15c/0x410 drivers/usb/core/hcd.c:1784 input_disconnect_device drivers/input/input.c:733 [inline] __input_unregister_device+0x23/0x430 drivers/input/input.c:2086 input_disconnect_device drivers/input/input.c:733 [inline] __input_unregister_device+0x23/0x430 drivers/input/input.c:2086 input_unregister_device+0xb4/0xf0 drivers/input/input.c:2273 iforce_usb_disconnect+0x5e/0xf0 drivers/input/joystick/iforce/iforce-usb.c:261 usb_unbind_interface+0x1bd/0x8a0 drivers/usb/core/driver.c:436 __pm_runtime_idle+0xd1/0x310 drivers/base/power/runtime.c:1021 usb_autoresume_device+0x60/0x60 include/linux/pm_runtime.h:252 __device_release_driver drivers/base/dd.c:1110 [inline] device_release_driver_internal+0x432/0x500 drivers/base/dd.c:1141 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:533 device_del+0x481/0xd30 drivers/base/core.c:2715 device_create_with_groups+0x120/0x120 drivers/base/core.c:3308 usb_remove_ep_devs+0x3e/0x80 drivers/usb/core/endpoint.c:215 remove_intf_ep_devs+0x13f/0x1d0 drivers/usb/core/message.c:1121 usb_disable_device+0x23d/0x790 drivers/usb/core/message.c:1245 usb_disconnect+0x293/0x900 drivers/usb/core/hub.c:2217 hub_port_connect drivers/usb/core/hub.c:5059 [inline] hub_port_connect_change drivers/usb/core/hub.c:5348 [inline] port_event drivers/usb/core/hub.c:5494 [inline] hub_event+0x1abf/0x43c0 drivers/usb/core/hub.c:5576 hub_port_debounce+0x350/0x350 drivers/usb/core/hub.c:4441 __x64_sys_sysinfo+0x30/0x40 kernel/sys.c:2604 lock_is_held include/linux/lockdep.h:406 [inline] rcu_read_lock_sched_held+0x9c/0xd0 kernel/rcu/update.c:121 rcu_read_lock_bh_held+0xb0/0xb0 kernel/rcu/update.c:333 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 process_one_work+0x965/0x1630 kernel/workqueue.c:2268 lock_release+0x720/0x720 kernel/locking/lockdep.c:4689 pwq_dec_nr_in_flight+0x310/0x310 kernel/workqueue.c:1198 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1329 to_kthread kernel/kthread.c:75 [inline] kthread_data+0xa/0xc0 kernel/kthread.c:165 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 process_one_work+0x1630/0x1630 kernel/workqueue.c:1029 kthread+0x326/0x430 kernel/kthread.c:268 kthread_create_on_node+0xf0/0xf0 kernel/kthread.c:405 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 INFO: task kworker/0:7:3126 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:7 D23416 3126 2 0x80004000 Workqueue: events request_firmware_work_func Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 __sched_text_start+0x8/0x8 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4217 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x87c/0x1360 kernel/locking/mutex.c:1103 device_lock include/linux/device.h:768 [inline] ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1077 [inline] ath9k_hif_usb_firmware_cb+0x388/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1210 mutex_trylock+0x2c0/0x2c0 kernel/locking/mutex.c:126 ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1074 [inline] ath9k_hif_usb_firmware_cb+0x36d/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1210 print_usage_bug+0x200/0x200 kernel/locking/lockdep.c:101 atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:694 [inline] queued_spin_lock include/asm-generic/qspinlock.h:78 [inline] do_raw_spin_lock+0x129/0x290 kernel/locking/spinlock_debug.c:113 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 device_lock include/linux/device.h:768 [inline] ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1077 [inline] ath9k_hif_usb_firmware_cb+0x388/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1210 device_lock include/linux/device.h:768 [inline] ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1077 [inline] ath9k_hif_usb_firmware_cb+0x388/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1210 ath9k_hif_usb_resume+0x320/0x320 drivers/net/wireless/ath/ath9k/hif_usb.c:1400 request_firmware_work_func+0x126/0x242 drivers/base/firmware_loader/main.c:1005 request_firmware_into_buf+0x90/0x90 drivers/base/firmware_loader/main.c:968 lock_is_held include/linux/lockdep.h:406 [inline] rcu_read_lock_sched_held+0x9c/0xd0 kernel/rcu/update.c:121 rcu_read_lock_bh_held+0xb0/0xb0 kernel/rcu/update.c:333 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 process_one_work+0x965/0x1630 kernel/workqueue.c:2268 lock_release+0x720/0x720 kernel/locking/lockdep.c:4689 pwq_dec_nr_in_flight+0x310/0x310 kernel/workqueue.c:1198 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1329 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 process_one_work+0x1630/0x1630 kernel/workqueue.c:1029 kthread+0x326/0x430 kernel/kthread.c:268 kthread_create_on_node+0xf0/0xf0 kernel/kthread.c:405 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 INFO: task kworker/0:8:3407 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:8 D24416 3407 2 0x80004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 __sched_text_start+0x8/0x8 mark_held_locks+0xe0/0xe0 kernel/locking/lockdep.c:3620 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 schedule_timeout+0x501/0x7d0 kernel/time/timer.c:1874 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] mark_lock+0x12b/0x1510 kernel/locking/lockdep.c:3912 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 usleep_range+0x160/0x160 kernel/time/timer.c:2093 print_usage_bug+0x200/0x200 kernel/locking/lockdep.c:101 flush_workqueue+0x3f7/0x14f0 kernel/workqueue.c:2829 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x16f/0x280 kernel/sched/completion.c:138 atomic64_cmpxchg include/asm-generic/atomic-instrumented.h:1463 [inline] atomic_long_cmpxchg_release include/asm-generic/atomic-long.h:424 [inline] __mutex_unlock_slowpath+0xe2/0x660 kernel/locking/mutex.c:1249 wait_for_completion_interruptible+0x2f0/0x2f0 kernel/sched/completion.c:89 flush_workqueue_prep_pwqs+0x298/0x4e0 kernel/workqueue.c:2757 to_kthread kernel/kthread.c:76 [inline] kthread_data+0x4f/0xc0 kernel/kthread.c:165 check_flush_dependency+0x2e2/0x400 kernel/workqueue.c:2606 flush_workqueue+0x403/0x14f0 kernel/workqueue.c:2831 spin_lock_irq include/linux/spinlock.h:378 [inline] usb_kill_anchored_urbs+0x22/0x1c0 drivers/usb/core/urb.c:788 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] mark_lock+0x12b/0x1510 kernel/locking/lockdep.c:3912 pwq_unbound_release_workfn+0x2d0/0x2d0 include/linux/list.h:135 print_usage_bug+0x200/0x200 kernel/locking/lockdep.c:101 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 hif_detach_htc drivers/net/wireless/ath/ath6kl/usb.c:856 [inline] ath6kl_usb_power_off+0x33/0x40 drivers/net/wireless/ath/ath6kl/usb.c:1055 hif_detach_htc drivers/net/wireless/ath/ath6kl/usb.c:856 [inline] ath6kl_usb_power_off+0x33/0x40 drivers/net/wireless/ath/ath6kl/usb.c:1055 ath6kl_hif_power_off drivers/net/wireless/ath/ath6kl/hif-ops.h:143 [inline] ath6kl_core_init drivers/net/wireless/ath/ath6kl/core.c:255 [inline] ath6kl_core_init+0x236/0x10d0 drivers/net/wireless/ath/ath6kl/core.c:66 set_track mm/kasan/common.c:57 [inline] __kasan_kmalloc mm/kasan/common.c:495 [inline] __kasan_kmalloc.constprop.0+0xbf/0xd0 mm/kasan/common.c:468 lockdep_init_map_waits+0x26a/0x7c0 kernel/locking/lockdep.c:4138 ath6kl_core_destroy+0x20/0x20 drivers/net/wireless/ath/ath6kl/core.c:359 memcpy+0x39/0x60 mm/kasan/common.c:107 ath6kl_core_create+0x83d/0xa00 drivers/net/wireless/ath/ath6kl/core.c:324 ath6kl_usb_probe+0xc8f/0x1190 drivers/net/wireless/ath/ath6kl/usb.c:1155 usb_probe_interface+0x310/0x800 drivers/usb/core/driver.c:374 usb_probe_device+0x230/0x230 drivers/usb/core/driver.c:274 really_probe+0x290/0xac0 drivers/base/dd.c:520 driver_probe_device+0x223/0x350 drivers/base/dd.c:697 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:804 driver_allows_async_probing+0x160/0x160 drivers/base/dd.c:737 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431 bus_rescan_devices+0x20/0x20 drivers/base/bus.c:711 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 __device_attach+0x21a/0x390 drivers/base/dd.c:870 device_bind_driver+0xd0/0xd0 drivers/base/dd.c:443 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0x1367/0x1c40 drivers/base/core.c:2538 wait_for_completion+0x280/0x280 device_link_remove+0x110/0x110 drivers/base/core.c:628 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 usb_set_configuration+0xed4/0x1850 drivers/usb/core/message.c:2032 usb_generic_driver_probe+0x9d/0xe0 drivers/usb/core/generic.c:241 usb_probe_device+0xd9/0x230 drivers/usb/core/driver.c:272 usb_suspend+0x600/0x600 include/linux/pm_wakeup.h:84 really_probe+0x290/0xac0 drivers/base/dd.c:520 driver_probe_device+0x223/0x350 drivers/base/dd.c:697 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:804 driver_allows_async_probing+0x160/0x160 drivers/base/dd.c:737 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431 bus_rescan_devices+0x20/0x20 drivers/base/bus.c:711 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 __device_attach+0x21a/0x390 drivers/base/dd.c:870 device_bind_driver+0xd0/0xd0 drivers/base/dd.c:443 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0x1367/0x1c40 drivers/base/core.c:2538 device_link_remove+0x110/0x110 drivers/base/core.c:628 usb_new_device.cold+0x552/0xf6e drivers/usb/core/hub.c:2554 hub_disconnect+0x4a0/0x4a0 drivers/usb/core/hub.c:1736 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 hub_port_connect drivers/usb/core/hub.c:5208 [inline] hub_port_connect_change drivers/usb/core/hub.c:5348 [inline] port_event drivers/usb/core/hub.c:5494 [inline] hub_event+0x226d/0x43c0 drivers/usb/core/hub.c:5576 hub_port_debounce+0x350/0x350 drivers/usb/core/hub.c:4441 __x64_sys_sysinfo+0x30/0x40 kernel/sys.c:2604 lock_is_held include/linux/lockdep.h:406 [inline] rcu_read_lock_sched_held+0x9c/0xd0 kernel/rcu/update.c:121 rcu_read_lock_bh_held+0xb0/0xb0 kernel/rcu/update.c:333 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 process_one_work+0x965/0x1630 kernel/workqueue.c:2268 lock_release+0x720/0x720 kernel/locking/lockdep.c:4689 pwq_dec_nr_in_flight+0x310/0x310 kernel/workqueue.c:1198 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1329 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 process_one_work+0x1630/0x1630 kernel/workqueue.c:1029 kthread+0x326/0x430 kernel/kthread.c:268 kthread_create_on_node+0xf0/0xf0 kernel/kthread.c:405 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Showing all locks held in the system: 1 lock held by ksoftirqd/1/16: #0: ffff8881db334918 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1262 [inline] #0: ffff8881db334918 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x21c/0x1d80 kernel/sched/core.c:4029 3 locks held by kworker/1:0/17: #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881da25fdc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4ef4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4ef4218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x43c0 drivers/usb/core/hub.c:5522 1 lock held by khungtaskd/23: #0: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x264 kernel/locking/lockdep.c:5754 6 locks held by kworker/1:2/83: #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881d8b1fdc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4ed4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4ed4218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x43c0 drivers/usb/core/hub.c:5522 #3: ffff8881d51de218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #3: ffff8881d51de218 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x91/0x900 drivers/usb/core/hub.c:2208 #4: ffff8881d1cdf1a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1138 #5: ffff8881ccdea2c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_disconnect_device drivers/input/input.c:733 [inline] #5: ffff8881ccdea2c0 (&dev->mutex#2){+.+.}-{3:3}, at: __input_unregister_device+0x23/0x430 drivers/input/input.c:2086 2 locks held by kworker/0:2/95: 1 lock held by in:imklog/278: 2 locks held by agetty/279: #0: ffff8881d23fe098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900006182e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x220/0x1b30 drivers/tty/n_tty.c:2156 3 locks held by kworker/0:6/3116: 3 locks held by kworker/0:7/3126: #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881ac1f7dc0 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4df4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4df4218 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1077 [inline] #2: ffff8881d4df4218 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_cb+0x388/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1210 2 locks held by kworker/1:4/3142: #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da028d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881cf627dc0 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 4 locks held by kworker/1:5/3167: 5 locks held by kworker/1:6/3295: #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881ca7afdc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4f14218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4f14218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x43c0 drivers/usb/core/hub.c:5522 #3: ffff8881d5b3b218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #3: ffff8881d5b3b218 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x91/0x900 drivers/usb/core/hub.c:2208 #4: ffff8881c83c81a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1138 5 locks held by kworker/0:8/3407: #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8d78938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881ac38fdc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4df4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4df4218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x43c0 drivers/usb/core/hub.c:5522 #3: ffff8881d9419218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #3: ffff8881d9419218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7b/0x390 drivers/base/dd.c:847 #4: ffff8881d55021a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #4: ffff8881d55021a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7b/0x390 drivers/base/dd.c:847 2 locks held by systemd-udevd/4203: #0: ffff8881ce289160 (&evdev->mutex){+.+.}-{3:3}, at: evdev_close_device drivers/input/evdev.c:425 [inline] #0: ffff8881ce289160 (&evdev->mutex){+.+.}-{3:3}, at: evdev_release+0xeb/0x1c0 drivers/input/evdev.c:466 #1: ffff8881ccdea2c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_close_device+0x42/0x1a0 drivers/input/input.c:674 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xef/0x16e lib/dump_stack.c:118 irq_force_complete_move.cold+0x13/0x47 arch/x86/kernel/apic/vector.c:1023 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 lapic_can_unplug_cpu.cold+0x3b/0x3b nmi_trigger_cpumask_backtrace+0x1db/0x207 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa99/0xfd0 kernel/hung_task.c:289 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:243 kthread+0x326/0x430 kernel/kthread.c:268 kthread_create_on_node+0xf0/0xf0 kernel/kthread.c:405 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3167 Comm: kworker/1:5 Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:163 [inline] RIP: 0010:unwind_next_frame+0x24d/0x1de0 arch/x86/kernel/unwind_orc.c:439 Code: 00 00 00 00 00 fc ff df 4a 8d 3c 85 54 5a 8c 88 49 89 f9 49 c1 e9 03 45 0f b6 0c 11 48 89 fa 83 e2 07 83 c2 03 44 38 ca 7c 09 <45> 84 c9 0f 85 83 14 00 00 42 8b 14 85 54 5a 8c 88 44 89 d7 4c 8d RSP: 0018:ffff8881db309500 EFLAGS: 00000006 RAX: 000000000001dba4 RBX: ffff8881db3095d8 RCX: ffffffff82dba44f RDX: 0000000000000003 RSI: 000000000001dba4 RDI: ffffffff8893c8e8 RBP: ffff8881db30960d R08: 000000000001dba5 R09: 0000000000000000 R10: 00000000000715e2 R11: 000000000004c01a R12: ffff8881db309620 R13: ffff8881db309628 R14: 0000000000000002 R15: 1ffff1103b6612a8 FS: 0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f98332ec000 CR3: 00000001aeeff000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ath9k_hif_usb_reg_in_cb+0x4c0/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:747 deref_stack_reg+0xe0/0xe0 arch/x86/kernel/unwind_orc.c:354 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] mark_lock+0x12b/0x1510 kernel/locking/lockdep.c:3912 __read_once_size_nocheck.constprop.0+0x10/0x10 include/linux/compiler.h:218 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0x5e/0xf0 arch/x86/kernel/stacktrace.c:24 profile_setup.cold+0xc1/0xc1 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 ath9k_hif_usb_reg_in_cb+0x4c0/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:747 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:123 stack_trace_consume_entry+0x160/0x160 kernel/stacktrace.c:93 mark_held_locks+0xe0/0xe0 kernel/locking/lockdep.c:3620 save_stack+0x1b/0x40 mm/kasan/common.c:49 save_stack+0x1b/0x40 mm/kasan/common.c:49 set_track mm/kasan/common.c:57 [inline] kasan_set_free_info mm/kasan/common.c:317 [inline] __kasan_slab_free+0x117/0x160 mm/kasan/common.c:456 slab_free_hook mm/slub.c:1455 [inline] slab_free_freelist_hook mm/slub.c:1488 [inline] slab_free mm/slub.c:3045 [inline] kfree+0xd5/0x300 mm/slub.c:4026 skb_free_head+0x8b/0xa0 net/core/skbuff.c:590 skb_release_data+0x41f/0x7c0 net/core/skbuff.c:610 skb_release_all+0x46/0x60 net/core/skbuff.c:664 __kfree_skb net/core/skbuff.c:678 [inline] kfree_skb net/core/skbuff.c:696 [inline] kfree_skb+0xfa/0x3d0 net/core/skbuff.c:690 ath9k_hif_usb_reg_in_cb+0x4c0/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:747 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] debug_check_no_obj_freed+0x213/0x449 lib/debugobjects.c:998 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 mark_held_locks+0xe0/0xe0 kernel/locking/lockdep.c:3620 trace_hardirqs_off+0x50/0x200 kernel/trace/trace_preemptirq.c:45 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x2a/0x40 kernel/locking/spinlock.c:191 __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] debug_check_no_obj_freed+0x213/0x449 lib/debugobjects.c:998 rcu_read_lock_bh_held+0xb0/0xb0 kernel/rcu/update.c:333 __phys_addr+0xc1/0x150 arch/x86/mm/physaddr.c:31 set_track mm/kasan/common.c:57 [inline] kasan_set_free_info mm/kasan/common.c:317 [inline] __kasan_slab_free+0x117/0x160 mm/kasan/common.c:456 skb_free_head+0x8b/0xa0 net/core/skbuff.c:590 slab_free_hook mm/slub.c:1455 [inline] slab_free_freelist_hook mm/slub.c:1488 [inline] slab_free mm/slub.c:3045 [inline] kfree+0xd5/0x300 mm/slub.c:4026 skb_free_head+0x8b/0xa0 net/core/skbuff.c:590 skb_release_data+0x41f/0x7c0 net/core/skbuff.c:610 ath9k_hif_usb_reg_in_cb+0x4c0/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:747 skb_release_all+0x46/0x60 net/core/skbuff.c:664 __kfree_skb net/core/skbuff.c:678 [inline] kfree_skb net/core/skbuff.c:696 [inline] kfree_skb+0xfa/0x3d0 net/core/skbuff.c:690 ath9k_hif_usb_reg_in_cb+0x4c0/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:747 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x2a/0x40 kernel/locking/spinlock.c:191 __usb_hcd_giveback_urb+0x1f2/0x470 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x368/0x420 drivers/usb/core/hcd.c:1713 dummy_timer+0x125e/0x32b4 drivers/usb/gadget/udc/dummy_hcd.c:1967 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3146 [inline] validate_chain kernel/locking/lockdep.c:3202 [inline] __lock_acquire+0x2248/0x6650 kernel/locking/lockdep.c:4355 lock_acquire+0x18b/0x7c0 kernel/locking/lockdep.c:4934 dummy_udc_probe+0x980/0x980 include/linux/device.h:699 lock_is_held include/linux/lockdep.h:406 [inline] rcu_read_lock_sched_held+0x9c/0xd0 kernel/rcu/update.c:121 rcu_read_lock_bh_held+0xb0/0xb0 kernel/rcu/update.c:333 call_timer_fn+0x1ac/0x700 kernel/time/timer.c:1405 dummy_udc_probe+0x980/0x980 include/linux/device.h:699 timer_fixup_init+0x60/0x60 kernel/time/timer.c:632 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 rcu_read_lock_bh_held+0xb0/0xb0 kernel/rcu/update.c:333 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 dummy_udc_probe+0x980/0x980 include/linux/device.h:699 expire_timers kernel/time/timer.c:1450 [inline] __run_timers kernel/time/timer.c:1774 [inline] __run_timers kernel/time/timer.c:1741 [inline] run_timer_softirq+0x5f9/0x1500 kernel/time/timer.c:1787 add_timer+0x7a0/0x7a0 kernel/time/timer.c:893 lock_is_held include/linux/lockdep.h:406 [inline] rcu_read_lock_sched_held+0x9c/0xd0 kernel/rcu/update.c:121 rcu_read_lock_bh_held+0xb0/0xb0 kernel/rcu/update.c:333 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __do_softirq+0x21e/0x9aa kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x178/0x1a0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] smp_apic_timer_interrupt+0x141/0x540 arch/x86/kernel/apic/apic.c:1140 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:85 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1779 [inline] RIP: 0010:vprintk_emit+0x3d0/0x3e0 kernel/printk/printk.c:2020 Code: 00 83 fb ff 75 d6 e9 d8 fc ff ff e8 7a 2f 16 00 e8 45 8b 1b 00 41 56 9d e9 aa fd ff ff e8 68 2f 16 00 e8 33 8b 1b 00 41 56 9d 2a ff ff ff 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 f5 53 48 RSP: 0018:ffff8881ce63f6e0 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: 0000000000000200 RCX: 1ffffffff127005d RDX: 0000000000000000 RSI: ffff8881cf4aba50 RDI: ffff8881cf4ab9fc RBP: ffff8881ce63f728 R08: 0000000000000001 R09: fffffbfff126c8c6 R10: ffffffff8936462f R11: fffffbfff126c8c5 R12: 000000000000002a R13: ffff8881d8c98000 R14: 0000000000000212 R15: 0000000000000000 dev_vprintk_emit+0x4fc/0x541 drivers/base/core.c:3774 dev_attr_show.cold+0x3a/0x3a drivers/base/core.c:1244 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] hlock_class kernel/locking/lockdep.c:179 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3146 [inline] validate_chain kernel/locking/lockdep.c:3202 [inline] __lock_acquire+0x2248/0x6650 kernel/locking/lockdep.c:4355 dev_printk_emit+0xba/0xf1 drivers/base/core.c:3785 dev_vprintk_emit+0x541/0x541 drivers/base/core.c:3775 __dev_printk+0x1db/0x203 drivers/base/core.c:3797 _dev_info+0xd7/0x109 drivers/base/core.c:3843 _dev_notice+0x109/0x109 drivers/base/core.c:3842 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3628 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 usb_disconnect+0x7f/0x900 drivers/usb/core/hub.c:2199 usb_clear_port_feature+0x6a/0x90 drivers/usb/core/hub.c:422 hub_port_connect drivers/usb/core/hub.c:5059 [inline] hub_port_connect_change drivers/usb/core/hub.c:5348 [inline] port_event drivers/usb/core/hub.c:5494 [inline] hub_event+0x1abf/0x43c0 drivers/usb/core/hub.c:5576 hub_port_debounce+0x350/0x350 drivers/usb/core/hub.c:4441 __x64_sys_sysinfo+0x30/0x40 kernel/sys.c:2604 lock_is_held include/linux/lockdep.h:406 [inline] rcu_read_lock_sched_held+0x9c/0xd0 kernel/rcu/update.c:121 rcu_read_lock_bh_held+0xb0/0xb0 kernel/rcu/update.c:333 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x1f/0x30 kernel/locking/spinlock.c:199 process_one_work+0x965/0x1630 kernel/workqueue.c:2268 lock_release+0x720/0x720 kernel/locking/lockdep.c:4689 pwq_dec_nr_in_flight+0x310/0x310 kernel/workqueue.c:1198 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1329 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 process_one_work+0x1630/0x1630 kernel/workqueue.c:1029 kthread+0x326/0x430 kernel/kthread.c:268 kthread_create_on_node+0xf0/0xf0 kernel/kthread.c:405 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351