INFO: task kworker/1:4:3300 blocked for more than 143 seconds. Not tainted 5.4.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:4 D23336 3300 2 0x80004000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xcd/0x2b0 kernel/sched/core.c:4155 schedule_timeout+0x682/0xb20 kernel/time/timer.c:1871 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x26f/0x3c0 kernel/sched/completion.c:136 kthread_stop+0x160/0x6e0 kernel/kthread.c:559 dvb_ca_en50221_release+0x91/0x1d0 drivers/media/dvb-core/dvb_ca_en50221.c:1934 tt3650_ci_uninit drivers/media/usb/dvb-usb/pctv452e.c:364 [inline] pctv452e_usb_disconnect+0xb0/0xf0 drivers/media/usb/dvb-usb/pctv452e.c:1061 usb_unbind_interface+0x1bd/0x8a0 drivers/usb/core/driver.c:423 __device_release_driver drivers/base/dd.c:1134 [inline] device_release_driver_internal+0x42f/0x500 drivers/base/dd.c:1165 bus_remove_device+0x2dc/0x4a0 drivers/base/bus.c:532 device_del+0x481/0xd30 drivers/base/core.c:2664 usb_disable_device+0x211/0x690 drivers/usb/core/message.c:1237 usb_disconnect+0x284/0x8d0 drivers/usb/core/hub.c:2200 hub_port_connect drivers/usb/core/hub.c:5035 [inline] hub_port_connect_change drivers/usb/core/hub.c:5324 [inline] port_event drivers/usb/core/hub.c:5470 [inline] hub_event+0x1753/0x3860 drivers/usb/core/hub.c:5552 process_one_work+0x92b/0x1530 kernel/workqueue.c:2264 worker_thread+0x96/0xe20 kernel/workqueue.c:2410 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 5 locks held by kworker/1:0/17: #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2235 #1: ffff8881da667dd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2239 #2: ffff8881d5668200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1493 [inline] #2: ffff8881d5668200 (&dev->mutex){....}, at: hub_event+0x1b2/0x3860 drivers/usb/core/hub.c:5498 #3: ffff8881d566a540 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2997 [inline] #3: ffff8881d566a540 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5115 [inline] #3: ffff8881d566a540 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5324 [inline] #3: ffff8881d566a540 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5470 [inline] #3: ffff8881d566a540 (&port_dev->status_lock){+.+.}, at: hub_event+0x1c67/0x3860 drivers/usb/core/hub.c:5552 #4: ffff8881d5941d60 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b6/0x2d30 drivers/usb/core/hub.c:4539 1 lock held by khungtaskd/23: #0: ffffffff86cfe560 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x264 kernel/locking/lockdep.c:5332 3 locks held by kworker/1:2/83: 1 lock held by rsyslogd/1603: 2 locks held by getty/1694: #0: ffff8881d1443090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc9000044d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1695: #0: ffff8881d1987090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc900004352e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1696: #0: ffff8881d1619090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc900004652e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1697: #0: ffff8881d1441090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc9000043d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1698: #0: ffff8881d2c96090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc9000045d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1699: #0: ffff8881d2c90090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc900004552e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1700: #0: ffff8881d1981090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc9000042d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 5 locks held by kworker/1:4/3300: #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2235 #1: ffff8881ac8afdd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2239 #2: ffff8881d55f1200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1493 [inline] #2: ffff8881d55f1200 (&dev->mutex){....}, at: hub_event+0x1b2/0x3860 drivers/usb/core/hub.c:5498 #3: ffff8881ccfe3200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1493 [inline] #3: ffff8881ccfe3200 (&dev->mutex){....}, at: usb_disconnect+0x91/0x8d0 drivers/usb/core/hub.c:2191 #4: ffff8881c8aff190 (&dev->mutex){....}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1162 6 locks held by kworker/1:5/3455: #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2235 #1: ffff8881ae6b7dd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2239 #2: ffff8881d5696200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1493 [inline] #2: ffff8881d5696200 (&dev->mutex){....}, at: hub_event+0x1b2/0x3860 drivers/usb/core/hub.c:5498 #3: ffff8881d56b0540 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2997 [inline] #3: ffff8881d56b0540 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5115 [inline] #3: ffff8881d56b0540 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5324 [inline] #3: ffff8881d56b0540 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5470 [inline] #3: ffff8881d56b0540 (&port_dev->status_lock){+.+.}, at: hub_event+0x1c67/0x3860 drivers/usb/core/hub.c:5552 #4: ffff8881d5626360 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b6/0x2d30 drivers/usb/core/hub.c:4539 #5: ffffffff871f0568 (ehci_cf_port_reset_rwsem){.+.+}, at: hub_port_reset+0x17b/0x1460 drivers/usb/core/hub.c:2859 3 locks held by kworker/1:7/4654: 6 locks held by kworker/0:8/1757: #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2235 #1: ffff8881b4ddfdd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2239 #2: ffff8881d56e4200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1493 [inline] #2: ffff8881d56e4200 (&dev->mutex){....}, at: hub_event+0x1b2/0x3860 drivers/usb/core/hub.c:5498 #3: ffff8881d56e6540 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2997 [inline] #3: ffff8881d56e6540 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5115 [inline] #3: ffff8881d56e6540 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5324 [inline] #3: ffff8881d56e6540 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5470 [inline] #3: ffff8881d56e6540 (&port_dev->status_lock){+.+.}, at: hub_event+0x1c67/0x3860 drivers/usb/core/hub.c:5552 #4: ffff8881d5626960 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b6/0x2d30 drivers/usb/core/hub.c:4539 #5: ffffffff871f0568 (ehci_cf_port_reset_rwsem){.+.+}, at: hub_port_reset+0x17b/0x1460 drivers/usb/core/hub.c:2859 3 locks held by kdvb-ca-2:0/3728: 6 locks held by kworker/1:3/3816: #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8c19528 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2235 #1: ffff8881cf507dd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2239 #2: ffff8881d56b5200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1493 [inline] #2: ffff8881d56b5200 (&dev->mutex){....}, at: hub_event+0x1b2/0x3860 drivers/usb/core/hub.c:5498 #3: ffff8881d56b7540 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2997 [inline] #3: ffff8881d56b7540 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5115 [inline] #3: ffff8881d56b7540 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5324 [inline] #3: ffff8881d56b7540 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5470 [inline] #3: ffff8881d56b7540 (&port_dev->status_lock){+.+.}, at: hub_event+0x1c67/0x3860 drivers/usb/core/hub.c:5552 #4: ffff8881d5626660 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b6/0x2d30 drivers/usb/core/hub.c:4539 #5: ffffffff871f0568 (ehci_cf_port_reset_rwsem){.+.+}, at: hub_port_reset+0x17b/0x1460 drivers/usb/core/hub.c:2859 3 locks held by syz-executor.5/6039: #0: ffff8881b9816ae0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe3/0x100 fs/file.c:801 #1: ffff8881d48d2410 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2885 [inline] #1: ffff8881d48d2410 (sb_writers#3){.+.+}, at: vfs_write+0x474/0x5c0 fs/read_write.c:557 #2: ffff8881a5be9bf0 (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:791 [inline] #2: ffff8881a5be9bf0 (&sb->s_type->i_mutex_key#10){++++}, at: ext4_dio_write_iter fs/ext4/file.c:379 [inline] #2: ffff8881a5be9bf0 (&sb->s_type->i_mutex_key#10){++++}, at: ext4_file_write_iter+0x263/0x19a0 fs/ext4/file.c:545 3 locks held by syz-executor.5/6042: #0: ffff8881b9817c60 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe3/0x100 fs/file.c:801 #1: ffff8881d48d2410 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2885 [inline] #1: ffff8881d48d2410 (sb_writers#3){.+.+}, at: vfs_write+0x474/0x5c0 fs/read_write.c:557 #2: ffff8881a5be9bf0 (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:791 [inline] #2: ffff8881a5be9bf0 (&sb->s_type->i_mutex_key#10){++++}, at: ext4_buffered_write_iter+0xb3/0x450 fs/ext4/file.c:246 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 5.4.0-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 nmi_cpu_backtrace.cold+0x55/0x96 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1c7 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+0xa7c/0xf80 kernel/hung_task.c:289 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3728 Comm: kdvb-ca-2:0 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x4/0x20 kernel/kcov.c:274 Code: 84 00 00 00 00 00 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 ec fe ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 ce fe ff ff 0f 1f 40 00 66 2e 0f 1f RSP: 0018:ffff8881ca94f708 EFLAGS: 00000006 RAX: 0000000000000000 RBX: ffffffff85c74163 RCX: ffffffff8573da91 RDX: 0000000000000003 RSI: 000000000000003c RDI: 0000000000000009 RBP: 000000000000003c R08: ffff8881ba520000 R09: ffffed1039529f47 R10: ffffed1039529f46 R11: ffff8881ca94fa30 R12: dffffc0000000000 R13: ffff8881ca94f778 R14: 0000000000000005 R15: 0000000000000035 FS: 0000000000000000(0000) GS:ffff8881db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff7233f5000 CR3: 00000001d53b8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skip_atoi+0xa1/0xe0 lib/vsprintf.c:135 format_decode+0x87f/0xad0 lib/vsprintf.c:2343 vsnprintf+0x155/0x14f0 lib/vsprintf.c:2526 sprintf+0xc0/0x100 lib/vsprintf.c:2776 print_time kernel/printk/printk.c:1271 [inline] print_prefix kernel/printk/printk.c:1297 [inline] msg_print_text+0x4d4/0x560 kernel/printk/printk.c:1316 console_unlock+0x301/0xc30 kernel/printk/printk.c:2448 vprintk_emit+0x171/0x3d0 kernel/printk/printk.c:1996 vprintk_func+0x75/0x113 kernel/printk/printk_safe.c:386 printk+0xba/0xed kernel/printk/printk.c:2056 tt3650_ci_msg.cold+0x30/0x3e drivers/media/usb/dvb-usb/pctv452e.c:141 tt3650_ci_msg_locked+0x83/0xb0 drivers/media/usb/dvb-usb/pctv452e.c:157 tt3650_ci_poll_slot_status+0x90/0x110 drivers/media/usb/dvb-usb/pctv452e.c:333 dvb_ca_en50221_check_camstatus+0x102/0x330 drivers/media/dvb-core/dvb_ca_en50221.c:234 dvb_ca_en50221_thread_state_machine drivers/media/dvb-core/dvb_ca_en50221.c:1128 [inline] dvb_ca_en50221_thread+0x26b/0x13e0 drivers/media/dvb-core/dvb_ca_en50221.c:1317 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352