INFO: task kworker/0:18:4994 blocked for more than 143 seconds. Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:18 state:D stack:21832 pid: 4994 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:726 usb_kill_urb+0x7f/0xa0 drivers/usb/core/urb.c:715 usb_start_wait_urb+0x24a/0x4b0 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:153 hub_port_init+0x868/0x34a0 drivers/usb/core/hub.c:4825 hub_port_connect drivers/usb/core/hub.c:5282 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5653 [inline] hub_event+0x24d1/0x4610 drivers/usb/core/hub.c:5735 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor.0:10756 blocked for more than 143 seconds. Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28136 pid:10756 ppid: 3640 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6629 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa44/0x1350 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] usbdev_release+0x83/0x4a0 drivers/usb/core/devio.c:1087 __fput+0x277/0x9d0 fs/file_table.c:320 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f979ee3c04b RSP: 002b:00007ffef3b43180 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f979ee3c04b RDX: 0000000000000000 RSI: 00007f979ec5d3e8 RDI: 0000000000000003 RBP: 00007f979ef9d980 R08: 0000000000000000 R09: 000000002d1b413e R10: 0000000000000000 R11: 0000000000000293 R12: 00000000001b4d24 R13: 00007ffef3b43280 R14: 00007f979ef9c050 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf888b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf885b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8bf89400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 2 locks held by kworker/u4:2/41: 2 locks held by getty/3280: #0: ffff88814b283098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 5 locks held by kworker/0:18/4994: #0: ffff888145d8b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888145d8b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888145d8b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888145d8b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888145d8b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888145d8b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90004b0fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x4610 drivers/usb/core/hub.c:5681 #3: ffff8880341534f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3103 [inline] #3: ffff8880341534f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5249 [inline] #3: ffff8880341534f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] #3: ffff8880341534f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5653 [inline] #3: ffff8880341534f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x20f9/0x4610 drivers/usb/core/hub.c:5735 #4: ffff88801f575168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5250 [inline] #4: ffff88801f575168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] #4: ffff88801f575168 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5653 [inline] #4: ffff88801f575168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2120/0x4610 drivers/usb/core/hub.c:5735 2 locks held by kworker/u4:0/22424: #0: ffff8880b9b39f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544 #1: ffffc90011d17da8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 1 lock held by syz-executor.0/10756: #0: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x83/0x4a0 drivers/usb/core/devio.c:1087 1 lock held by syz-executor.4/10800: #0: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.4/10912: #0: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x920 drivers/usb/core/devio.c:1042 1 lock held by syz-executor.0/10920: #0: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #0: ffff888147ffd190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x920 drivers/usb/core/devio.c:1042 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x46/0x14f lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x206/0x250 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc18/0xf50 kernel/hung_task.c:369 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2959 Comm: klogd Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:write_comp_data+0x21/0x90 kernel/kcov.c:229 Code: 84 00 00 00 00 00 0f 1f 00 65 8b 05 a9 6a 86 7e 49 89 f1 89 c6 49 89 d2 81 e6 00 01 00 00 49 89 f8 65 48 8b 14 25 80 6f 02 00 00 01 ff 00 74 0e 85 f6 74 59 8b 82 bc 15 00 00 85 c0 74 4f 8b RSP: 0018:ffffc90002d3f7e0 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000002 RCX: ffffffff8422fa94 RDX: ffff88807d8b0000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffffff8a4cb760 R08: 0000000000000001 R09: 0000000000000058 R10: 0000000000000075 R11: 0000000000000000 R12: 0000000000000075 R13: 0000000000000001 R14: 000000000000000a R15: 0000000000000001 FS: 00007ff1644fc800(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557ec63032f8 CR3: 000000002481b000 CR4: 0000000000350ee0 Call Trace: __sanitizer_cov_trace_switch+0x50/0x90 kernel/kcov.c:333 format_decode+0x3a4/0xad0 lib/vsprintf.c:2592 vsnprintf+0x155/0x14f0 lib/vsprintf.c:2734 sprintf+0xc0/0x100 lib/vsprintf.c:2986 print_time kernel/printk/printk.c:1277 [inline] info_print_prefix+0x248/0x340 kernel/printk/printk.c:1303 record_print_text+0x14d/0x3e0 kernel/printk/printk.c:1352 syslog_print+0x48a/0x580 kernel/printk/printk.c:1563 do_syslog.part.0+0x1db/0x5f0 kernel/printk/printk.c:1682 do_syslog kernel/printk/printk.c:1772 [inline] __do_sys_syslog kernel/printk/printk.c:1774 [inline] __se_sys_syslog kernel/printk/printk.c:1772 [inline] __x64_sys_syslog+0x97/0xc0 kernel/printk/printk.c:1772 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff1646978b7 Code: 73 01 c3 48 8b 0d c1 05 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 91 05 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffdad62e898 EFLAGS: 00000206 ORIG_RAX: 0000000000000067 RAX: ffffffffffffffda RBX: 00007ff164824490 RCX: 00007ff1646978b7 RDX: 00000000000003ff RSI: 00007ff164824490 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000557d621289d0 R10: 0000000000004000 R11: 0000000000000206 R12: 00007ff164824490 R13: 00007ff1648244f3 R14: 00007ff1648244f3 R15: 0000000000000000