INFO: task kworker/0:5:5544 blocked for more than 143 seconds. Not tainted 5.1.0-rc4-319354-g9a33b36 #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:5 D24704 5544 2 0x80000000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0x8f/0x180 kernel/sched/core.c:3562 schedule_preempt_disabled+0x11/0x20 kernel/sched/core.c:3620 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x800/0x12b0 kernel/locking/mutex.c:1072 device_lock include/linux/device.h:1207 [inline] hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 process_one_work+0x90f/0x1580 kernel/workqueue.c:2269 worker_thread+0x9b/0xe20 kernel/workqueue.c:2415 kthread+0x313/0x420 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 6 locks held by kworker/1:0/17: usb 4-1: config 0 has an invalid interface number: 79 but max is 0 #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 usb 4-1: config 0 has no interface number 0 #1: 000000002143632e ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 0000000036730ac3 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 0000000036730ac3 (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 #3: 00000000cae0f0a2 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2994 [inline] #3: 00000000cae0f0a2 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5020 [inline] #3: 00000000cae0f0a2 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] #3: 00000000cae0f0a2 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5350 [inline] #3: 00000000cae0f0a2 (&port_dev->status_lock){+.+.}, at: hub_event+0x11a3/0x3b00 drivers/usb/core/hub.c:5432 #4: 000000004bd6beaf (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1bb/0x2d30 drivers/usb/core/hub.c:4529 #5: 000000001adc8515 (ehci_cf_port_reset_rwsem){.+.+}, at: hub_port_reset+0x18a/0x1770 drivers/usb/core/hub.c:2856 3 locks held by kworker/1:1/21: #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 000000009a0dcb8c ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 00000000f731db2f (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 00000000f731db2f (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 1 lock held by khungtaskd/23: #0: 00000000affdfdf5 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:5059 2 locks held by rsyslogd/5331: #0: 00000000f37d6ee3 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe8/0x100 fs/file.c:801 #1: 00000000443a4607 (logbuf_lock){..-.}, at: is_bpf_text_address+0x5/0x170 kernel/bpf/core.c:707 2 locks held by getty/5421: #0: 00000000f77ab84e (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 usb 3-1: USB disconnect, device number 47 #1: 000000004b95c2a0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5422: usb 6-1: device descriptor read/64, error -71 #0: 000000002c2e1cae (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000009556e910 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5423: #0: 000000009b0f4705 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000669d8c01 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5424: #0: 00000000119d19c9 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000620a19f5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5425: #0: 00000000b0881532 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000df7ff51a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5426: #0: 000000000a760131 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000a3681037 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5427: #0: 000000007b842bcb (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000081b320a7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 4 locks held by udevd/5428: #0: 000000009232a39f (&p->lock){+.+.}, at: seq_read+0x70/0x1120 fs/seq_file.c:161 #1: 00000000502007e6 (&of->mutex){+.+.}, at: kernfs_seq_start+0x4e/0x190 fs/kernfs/file.c:112 #2: 000000008eb51dfe (kn->count#86){.+.+}, at: kernfs_seq_start+0x78/0x190 fs/kernfs/file.c:113 #3: 000000002cce97cd (&dev->mutex){....}, at: device_lock_interruptible include/linux/device.h:1212 [inline] #3: 000000002cce97cd (&dev->mutex){....}, at: manufacturer_show+0x24/0xa0 drivers/usb/core/sysfs.c:140 2 locks held by syz-executor.4/5507: #0: 00000000dee98b2f (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1168 [inline] #0: 00000000dee98b2f (&rq->lock){-.-.}, at: __schedule+0x1ed/0x1d00 kernel/sched/core.c:3456 usb 4-1: New USB device found, idVendor=0cad, idProduct=9016, bcdDevice=7d.81 #1: 00000000affdfdf5 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 00000000affdfdf5 (rcu_read_lock){....}, at: update_curr+0x302/0x8c0 kernel/sched/fair.c:842 5 locks held by kworker/0:4/5511: usb 4-1: New USB device strings: Mfr=5, Product=0, SerialNumber=0 #0: 00000000cb40af51 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000cb40af51 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000cb40af51 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000cb40af51 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000cb40af51 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000cb40af51 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000cb40af51 ((wq_completion)events){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 0000000008a0e666 ((work_completion)(&fw_work->work)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 usb 4-1: config 0 descriptor?? #2: 00000000632e5d12 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 00000000632e5d12 (&dev->mutex){....}, at: ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1077 [inline] #2: 00000000632e5d12 (&dev->mutex){....}, at: ath9k_hif_usb_firmware_cb+0x377/0x500 drivers/net/wireless/ath/ath9k/hif_usb.c:1210 #3: 000000000424ccfa (&dev->mutex){....}, at: device_release_driver_internal+0x28/0x4f0 drivers/base/dd.c:1110 #4: 000000005c69a4f7 (hcd->bandwidth_mutex){+.+.}, at: usb_set_configuration+0x4b7/0x1740 drivers/usb/core/message.c:1884 3 locks held by kworker/1:3/5531: #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 00000000670f7873 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 000000002eca4ce6 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 000000002eca4ce6 (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 usb_serial_simple 4-1:0.79: motorola_tetra converter detected 3 locks held by kworker/0:5/5544: #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 0000000065fe7438 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 usb 4-1: motorola_tetra converter now attached to ttyUSB0 #2: 00000000632e5d12 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 00000000632e5d12 (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 7 locks held by kworker/1:5/5785: #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000c44170d7 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 000000008f9dff97 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 00000000562ed60c (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 00000000562ed60c (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 #3: 000000002cce97cd (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #3: 000000002cce97cd (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #4: 00000000605cf59b (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #4: 00000000605cf59b (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #5: 000000001eb08d7b (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2994 [inline] #5: 000000001eb08d7b (&port_dev->status_lock){+.+.}, at: usb_reset_device+0x4be/0x990 drivers/usb/core/hub.c:5888 usb 6-1: Using ep0 maxpacket: 8 #6: 00000000c3f4467f (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1bb/0x2d30 drivers/usb/core/hub.c:4529 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 5.1.0-rc4-319354-g9a33b36 #3 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+0xe8/0x16e lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x48/0x87 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1bd lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0x98e/0xe20 kernel/hung_task.c:288 usb 4-1: USB disconnect, device number 41 kthread+0x313/0x420 kernel/kthread.c:253 motorola_tetra ttyUSB0: motorola_tetra converter now disconnected from ttyUSB0 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21 Comm: kworker/1:1 Not tainted 5.1.0-rc4-319354-g9a33b36 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:msg_print_text+0x212/0x470 kernel/printk/printk.c:1330 Code: 29 e8 49 29 c6 e8 9e 36 17 00 4d 85 ff 0f 85 02 ff ff ff e8 90 36 17 00 4c 03 64 24 18 e8 86 36 17 00 4d 01 ec 48 85 db 75 a0 79 36 17 00 48 b8 00 00 00 00 00 fc ff df 48 03 44 24 28 c7 00 RSP: 0018:ffff8880a860f1b0 EFLAGS: 00000046 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc900129d7000 RDX: 0000000000040000 RSI: ffffffff815a8e8d RDI: ffffffff96bd5b1d RBP: ffffffff96bde2fc R08: ffff8880a8601880 R09: fffffbfff2d7ab64 R10: fffffbfff2d7ab63 R11: ffffffff96bd5b1c R12: 000000000000005e R13: ffffffff96bd5b1d R14: 000000000000004e R15: ffffffff96bd5ac0 FS: 0000000000000000(0000) GS:ffff8880ad100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7778996000 CR3: 00000000a7828000 CR4: 00000000001406e0 Call Trace: console_unlock+0x2fa/0xbb0 kernel/printk/printk.c:2427 vprintk_emit+0x2b5/0x5a0 kernel/printk/printk.c:1975 dev_vprintk_emit+0x50e/0x553 drivers/base/core.c:3185 dev_printk_emit+0xbf/0xf6 drivers/base/core.c:3196 __dev_printk+0x1ed/0x215 drivers/base/core.c:3208 _dev_info+0xdc/0x10e drivers/base/core.c:3254 usb_serial_device_remove.cold+0x1e/0x93 drivers/usb/serial/bus.c:114 __device_release_driver drivers/base/dd.c:1080 [inline] device_release_driver_internal+0x225/0x4f0 drivers/base/dd.c:1113 bus_remove_device+0x302/0x5c0 drivers/base/bus.c:556 device_del+0x467/0xb90 drivers/base/core.c:2269 usb_serial_disconnect+0x20a/0x300 drivers/usb/serial/usb-serial.c:1102 usb_unbind_interface+0x1c9/0x980 drivers/usb/core/driver.c:423 __device_release_driver drivers/base/dd.c:1082 [inline] device_release_driver_internal+0x436/0x4f0 drivers/base/dd.c:1113 bus_remove_device+0x302/0x5c0 drivers/base/bus.c:556 device_del+0x467/0xb90 drivers/base/core.c:2269 usb_disable_device+0x242/0x790 drivers/usb/core/message.c:1235 usb_disconnect+0x298/0x870 drivers/usb/core/hub.c:2197 hub_port_connect drivers/usb/core/hub.c:4940 [inline] hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] port_event drivers/usb/core/hub.c:5350 [inline] hub_event+0xcd2/0x3b00 drivers/usb/core/hub.c:5432 process_one_work+0x90f/0x1580 kernel/workqueue.c:2269 worker_thread+0x9b/0xe20 kernel/workqueue.c:2415 kthread+0x313/0x420 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352