INFO: task kworker/1:9:3639 blocked for more than 143 seconds. Not tainted 5.15.114-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:9 state:D stack:22264 pid: 3639 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6514 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 hub_port_connect drivers/usb/core/hub.c:5255 [inline] hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] port_event drivers/usb/core/hub.c:5648 [inline] hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Showing all locks held in the system: 5 locks held by kworker/0:0/7: #0: ffff888016d13938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc90000cc7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff888147acf220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147acf220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676 #3: ffff88801fa9a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff88801fa9a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline] #3: ffff88801fa9a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #3: ffff88801fa9a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #3: ffff88801fa9a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2325/0x56d0 drivers/usb/core/hub.c:5730 #4: ffff88801f03dd68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline] #4: ffff88801f03dd68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #4: ffff88801f03dd68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #4: ffff88801f03dd68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730 1 lock held by khungtaskd/27: #0: ffffffff8c91c5e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by klogd/2949: #0: ffff8880b9a39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483 2 locks held by getty/3256: #0: ffff88814aade098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 5 locks held by kworker/1:8/3598: #0: ffff888016d13938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc900046afd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff888147a5b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147a5b220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676 #3: ffff888147a5e5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff888147a5e5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline] #3: ffff888147a5e5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #3: ffff888147a5e5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #3: ffff888147a5e5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2325/0x56d0 drivers/usb/core/hub.c:5730 #4: ffff88801ee5fb68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline] #4: ffff88801ee5fb68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #4: ffff88801ee5fb68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #4: ffff88801ee5fb68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730 5 locks held by kworker/1:9/3639: #0: ffff888016d13938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc9000471fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff88801f237220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88801f237220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676 #3: ffff88801f9f45c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff88801f9f45c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline] #3: ffff88801f9f45c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #3: ffff88801f9f45c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #3: ffff88801f9f45c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2325/0x56d0 drivers/usb/core/hub.c:5730 #4: ffff88801ee38268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline] #4: ffff88801ee38268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #4: ffff88801ee38268 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #4: ffff88801ee38268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730 5 locks held by kworker/1:6/25533: #0: ffff888016d13938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc9000f4a7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff88801f995220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88801f995220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676 #3: ffff88801f9e05c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff88801f9e05c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline] #3: ffff88801f9e05c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #3: ffff88801f9e05c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #3: ffff88801f9e05c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2325/0x56d0 drivers/usb/core/hub.c:5730 #4: ffff88801ee38268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline] #4: ffff88801ee38268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #4: ffff88801ee38268 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #4: ffff88801ee38268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730 5 locks held by kworker/1:16/25585: #0: ffff888016d13938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc9000fa7fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff88801f904220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88801f904220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676 #3: ffff888147a005c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff888147a005c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline] #3: ffff888147a005c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #3: ffff888147a005c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #3: ffff888147a005c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2325/0x56d0 drivers/usb/core/hub.c:5730 #4: ffff88801eda6d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline] #4: ffff88801eda6d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #4: ffff88801eda6d68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #4: ffff88801eda6d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730 5 locks held by kworker/0:12/26101: #0: ffff8880b9a39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483 #1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 #2: ffff8880b9a28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:946 #3: ffffffff91675910 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x16b/0x860 lib/debugobjects.c:700 #4: ffffffff9161e538 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:1003 [inline] #4: ffffffff9161e538 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xc2/0x610 lib/debugobjects.c:1046 4 locks held by kworker/u4:4/5772: #0: ffff888011db5138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc90004cdfd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffffffff8d9d1450 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8d9dd1a8 (rtnl_mutex){+.+.}-{3:3}, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1244 5 locks held by kworker/0:11/21095: #0: ffff888016d13938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc900058dfd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffff888147a13220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147a13220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676 #3: ffff888147a165c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff888147a165c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline] #3: ffff888147a165c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #3: ffff888147a165c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #3: ffff888147a165c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2325/0x56d0 drivers/usb/core/hub.c:5730 #4: ffff88801eda6d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline] #4: ffff88801eda6d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #4: ffff88801eda6d68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline] #4: ffff88801eda6d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730 3 locks held by kworker/0:5/17518: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc90010127d20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffffffff8d9dd1a8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 3 locks held by kworker/0:6/17522: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc9001000fd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffffffff8d9dd1a8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 2 locks held by kworker/0:8/17531: #0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc9001021fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 1 lock held by syz-executor.3/27531: #0: ffff88801f904220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff88801f904220 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x152/0x7a0 drivers/usb/core/devio.c:1030 2 locks held by syz-executor.0/28153: #0: ffffffff8d9dd1a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9dd1a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5584 #1: ffffffff8c920b28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c920b28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:842 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 541 Comm: kworker/u4:3 Not tainted 5.15.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:update_rq_clock_task kernel/sched/core.c:620 [inline] RIP: 0010:update_rq_clock+0x1bf/0x540 kernel/sched/core.c:684 Code: 8d ae 30 0c 00 00 4d 89 ef 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df 41 80 3c 07 00 74 08 4c 89 ef e8 45 21 72 00 4d 8b 75 00 <4c> 29 f3 4c 39 e3 49 0f 4d dc 49 01 de 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90000007950 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 0000001a0706f5ad RCX: 1ffffffff1eb9800 RDX: 1ffffffff1eb9800 RSI: ffffffff8f5cc01c RDI: ffffffff8f5cc01d RBP: ffff8880b9a3a0c8 R08: ffffffff8f5cc000 R09: ffffffff8f5cc008 R10: ffffffff8f5cc018 R11: ffffffff8f5cc010 R12: 000000000000e35a R13: ffff8880b9a3a2b0 R14: 0000001a0706f5ad R15: 1ffff11017347456 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f044c510998 CR3: 000000003b66e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ttwu_queue kernel/sched/core.c:3818 [inline] try_to_wake_up+0x77c/0x1300 kernel/sched/core.c:4142 __queue_work+0x963/0xd00 kernel/workqueue.c:1529 queue_work_on+0x14b/0x250 kernel/workqueue.c:1556 queue_work include/linux/workqueue.h:502 [inline] cursor_timer_handler+0x70/0xe0 drivers/video/fbdev/core/fbcon.c:397 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1737 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1750 __do_softirq+0x3b3/0x93a kernel/softirq.c:558 do_softirq+0x162/0x240 kernel/softirq.c:459 __local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:383 spin_unlock_bh include/linux/spinlock.h:408 [inline] batadv_nc_purge_paths+0x30e/0x3b0 net/batman-adv/network-coding.c:475 batadv_nc_worker+0x30b/0x5b0 net/batman-adv/network-coding.c:726 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298