INFO: task kworker/0:1:12 blocked for more than 143 seconds. Not tainted 5.7.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:1 D22672 12 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:2553 hub_disconnect+0x4a0/0x4a0 drivers/usb/core/hub.c:1735 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:5207 [inline] hub_port_connect_change drivers/usb/core/hub.c:5347 [inline] port_event drivers/usb/core/hub.c:5493 [inline] hub_event+0x226d/0x43c0 drivers/usb/core/hub.c:5575 hub_port_debounce+0x350/0x350 drivers/usb/core/hub.c:4440 usermodehelper_read_unlock+0x10/0x20 kernel/umh.c:292 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/1:11:4059 blocked for more than 143 seconds. Not tainted 5.7.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:11 D23264 4059 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 Showing all locks held in the system: 5 locks held by kworker/0:1/12: #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881da21fdc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4f0f218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4f0f218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x43c0 drivers/usb/core/hub.c:5521 #3: ffff8881c656e218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #3: ffff8881c656e218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7b/0x390 drivers/base/dd.c:847 #4: ffff8881ae85d1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #4: ffff8881ae85d1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7b/0x390 drivers/base/dd.c:847 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 5 locks held by kworker/0:2/95: 1 lock held by in:imklog/259: #0: ffff8881c78a3270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 5 locks held by kworker/0:3/3051: #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881cfcbfdc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4eef218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4eef218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x43c0 drivers/usb/core/hub.c:5521 #3: ffff8881db234918 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1262 [inline] #3: ffff8881db234918 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x21c/0x1d80 kernel/sched/core.c:4029 #4: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #4: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: update_curr+0x28a/0x830 kernel/sched/fair.c:872 6 locks held by kworker/0:4/3076: #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881adcdfdc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4ec7218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4ec7218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x43c0 drivers/usb/core/hub.c:5521 #3: ffff8881c5e5e218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #3: ffff8881c5e5e218 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x91/0x900 drivers/usb/core/hub.c:2207 #4: ffff8881d8de91a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1138 #5: ffffffff8776f148 (adutux_mutex){+.+.}-{3:3}, at: adu_disconnect+0xae/0x1c0 drivers/usb/misc/adutux.c:772 2 locks held by kworker/0:5/3097: #0: ffff8881da02a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da02a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da02a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da02a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da02a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881da02a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881da02a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881ae4f7dc0 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 7 locks held by kworker/0:7/3657: #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8951138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x844/0x1630 kernel/workqueue.c:2239 #1: ffff8881c8527dc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4eaf218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4eaf218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x43c0 drivers/usb/core/hub.c:5521 #3: ffff8881c6da8218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #3: ffff8881c6da8218 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x91/0x900 drivers/usb/core/hub.c:2207 #4: ffff8881d4d8f1a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1138 #5: ffffffff87c61ba8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0xe/0x20 net/core/dev.c:10009 #6: ffffffff87118f20 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #6: ffffffff87118f20 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0xac5/0xc40 kernel/rcu/tree_exp.h:856 3 locks held by kworker/0:8/3705: #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: ffff8881d9a67dc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffffffff87c61ba8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:242 3 locks held by kworker/1:8/3791: 3 locks held by kworker/1:10/3899: #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: ffff8881c474fdc0 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4e7f218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4e7f218 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1077 [inline] #2: ffff8881d4e7f218 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_cb+0x388/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1210 3 locks held by kworker/1:11/4059: #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: ffff8881c4437dc0 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x878/0x1630 kernel/workqueue.c:2243 #2: ffff8881d4f0f218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:768 [inline] #2: ffff8881d4f0f218 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1077 [inline] #2: ffff8881d4f0f218 (&dev->mutex){....}-{3:3}, at: ath9k_hif_usb_firmware_cb+0x388/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1210 1 lock held by syz-executor.3/9901: #0: ffffffff8776f148 (adutux_mutex){+.+.}-{3:3}, at: adu_release+0xca/0x710 drivers/usb/misc/adutux.c:322 1 lock held by syz-executor.5/9911: 1 lock held by syz-executor.5/9912: #0: ffff8881d4514160 (&evdev->mutex){+.+.}-{3:3}, at: evdev_write+0x151/0x410 drivers/input/evdev.c:522 4 locks held by systemd-udevd/9919: #0: ffff8881c60e5b08 (&p->lock){+.+.}-{3:3}, at: seq_read+0x61/0xfd0 fs/seq_file.c:153 #1: ffff8881c6324888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x49/0x180 fs/kernfs/file.c:111 #2: ffff8881c5235ae8 (kn->count#55){++++}-{0:0}, at: kernfs_seq_start+0x73/0x180 fs/kernfs/file.c:112 #3: ffff8881c6da8218 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:773 [inline] #3: ffff8881c6da8218 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x22/0xa0 drivers/usb/core/sysfs.c:141 3 locks held by systemd-udevd/9921: #0: ffff8881db234918 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1262 [inline] #0: ffff8881db234918 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x21c/0x1d80 kernel/sched/core.c:4029 #1: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: update_curr+0x28a/0x830 kernel/sched/fair.c:872 #2: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #2: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: update_curr+0x28a/0x830 kernel/sched/fair.c:872 1 lock held by v4l_id/9928: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 5.7.0-rc5-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9911 Comm: syz-executor.5 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:cpumask_next+0x0/0x40 lib/cpumask.c:18 Code: 16 7c 77 ff e9 bb fe ff ff 48 89 ef e8 59 7b 77 ff e9 15 fe ff ff 48 89 df e8 4c 7b 77 ff e9 bd fd ff ff cc cc cc cc cc cc cc <55> 48 89 f5 53 89 fb e8 14 0c 4e ff 83 c3 01 bf 08 00 00 00 89 de RSP: 0018:ffff8881db209c48 EFLAGS: 00000006 RAX: ffff8881aeb818c0 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000010000 RSI: ffff8881db221d38 RDI: 00000000ffffffff RBP: 00000000ffffffff R08: ffffffff88c4501c R09: ffffffff88c45008 R10: ffffffff88c45010 R11: 0000000000000001 R12: ffff8881db221d38 R13: 0000000000000000 R14: ffff8881db221d38 R15: 0000000000000000 FS: 00007fc2c0b1f700(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020b37000 CR3: 00000001cd1d1000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cpumask_next_wrap+0x21/0xa0 lib/cpumask.c:82 select_idle_cpu kernel/sched/fair.c:6104 [inline] select_idle_sibling kernel/sched/fair.c:6228 [inline] select_task_rq_fair+0x11c2/0x2af0 kernel/sched/fair.c:6677 select_task_rq kernel/sched/core.c:2097 [inline] try_to_wake_up+0x42e/0x1690 kernel/sched/core.c:2610 set_cpus_allowed_ptr+0x10/0x10 kernel/sched/core.c:1691 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 hrtimer_wakeup+0x43/0x60 kernel/time/hrtimer.c:1774 __run_hrtimer kernel/time/hrtimer.c:1520 [inline] __hrtimer_run_queues+0x1ce/0xe10 kernel/time/hrtimer.c:1584 hrtimer_init_sleeper_on_stack+0x90/0x90 kernel/time/hrtimer.c:1833 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 hrtimer_init+0x2e0/0x2e0 include/linux/compiler.h:199 ktime_get_update_offsets_now+0x24c/0x320 kernel/time/timekeeping.c:2240 hrtimer_interrupt+0x2e8/0x730 kernel/time/hrtimer.c:1646 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1113 [inline] smp_apic_timer_interrupt+0xfe/0x540 arch/x86/kernel/apic/apic.c:1138 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:92 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:109 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:135 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:166 [inline] RIP: 0010:check_memory_region_inline mm/kasan/generic.c:184 [inline] RIP: 0010:check_memory_region+0x14c/0x1d0 mm/kasan/generic.c:193 Code: 89 e9 49 29 c1 e9 4a ff ff ff 5b b8 01 00 00 00 5d 41 5c c3 4d 85 c9 74 f1 49 01 d9 eb 09 48 83 c0 01 4c 39 c8 74 e3 80 38 00 <74> f2 e9 6d ff ff ff 4d 39 c3 75 16 4d 0f be 03 41 83 e2 07 b8 01 RSP: 0018:ffff8881d92dfcc0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffffed103ada4405 RBX: ffffed103ada4405 RCX: ffffffff83c92ee8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881d6d22028 RBP: ffffed103ada4406 R08: ffff8881aeb818c0 R09: ffffed103ada4406 R10: ffff8881d6d2202f R11: ffffed103ada4405 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8881d6d22000 R15: 0000000000b36148 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] is_event_supported drivers/input/input.c:53 [inline] is_event_supported drivers/input/input.c:50 [inline] input_inject_event+0x78/0x31e drivers/input/input.c:465 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:110 [inline] is_event_supported drivers/input/input.c:53 [inline] is_event_supported drivers/input/input.c:50 [inline] input_inject_event+0x78/0x31e drivers/input/input.c:465 evdev_write+0x2c9/0x410 drivers/input/evdev.c:539 evdev_handle_set_keycode_v2+0x120/0x120 drivers/input/evdev.c:880 security_file_permission+0x8c/0x470 security/security.c:1426 evdev_handle_set_keycode_v2+0x120/0x120 drivers/input/evdev.c:880 __vfs_write+0x76/0x100 fs/read_write.c:495 vfs_write+0x268/0x5d0 fs/read_write.c:559 ksys_write+0x1ee/0x250 fs/read_write.c:612 __ia32_sys_read+0xb0/0xb0 fs/read_write.c:596 __ia32_sys_clock_settime+0x260/0x260 kernel/time/posix-timers.c:1410 trace_hardirqs_off_caller+0x55/0x200 kernel/trace/trace_preemptirq.c:73 do_syscall_64+0xb6/0x5a0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45ca29 Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc2c0b1ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000050cc40 RCX: 000000000045ca29 RDX: 00000000128e84bc RSI: 0000000020001200 RDI: 0000000000000006 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000cf8 R14: 00000000004cf44c R15: 00007fc2c0b1f6d4