INFO: task kworker/1:5:5165 blocked for more than 143 seconds. Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:5 state:D stack:24488 pid:5165 tgid:5165 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747 hub_port_connect drivers/usb/core/hub.c:5338 [inline] hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] port_event drivers/usb/core/hub.c:5740 [inline] hub_event+0x2827/0x4e10 drivers/usb/core/hub.c:5822 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Showing all locks held in the system: 2 locks held by kworker/u4:1/12: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffffc90000117d80 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 1 lock held by khungtaskd/30: #0: ffffffff8cfabbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfabbe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfabbe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/1:2/2852: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc9000af97d80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 2 locks held by kworker/u4:10/3616: 2 locks held by getty/4820: #0: ffff88814adc20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 7 locks held by syz-executor.2/5116: 3 locks held by kworker/1:3/5160: #0: ffff888015673138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc90003e7fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 5 locks held by kworker/1:5/5165: #0: ffff888015673138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc900046ffd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffff888020b3d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff888020b3d190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e10 drivers/usb/core/hub.c:5768 #3: ffff888020b50510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3131 [inline] #3: ffff888020b50510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] #3: ffff888020b50510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #3: ffff888020b50510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #3: ffff888020b50510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x27fe/0x4e10 drivers/usb/core/hub.c:5822 #4: ffff88802085f868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] #4: ffff88802085f868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #4: ffff88802085f868 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #4: ffff88802085f868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2827/0x4e10 drivers/usb/core/hub.c:5822 5 locks held by kworker/1:6/5166: #0: ffff888015673138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc9000470fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffff888020acf190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff888020acf190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e10 drivers/usb/core/hub.c:5768 #3: ffff888020af2510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3131 [inline] #3: ffff888020af2510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] #3: ffff888020af2510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #3: ffff888020af2510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #3: ffff888020af2510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x27fe/0x4e10 drivers/usb/core/hub.c:5822 #4: ffff88802085f868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] #4: ffff88802085f868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #4: ffff88802085f868 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #4: ffff88802085f868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2827/0x4e10 drivers/usb/core/hub.c:5822 3 locks held by kworker/1:7/5167: #0: ffff888025d7ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc9000471fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4679 2 locks held by kworker/0:8/5186: #0: ffff888013072938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc9000480fd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 2 locks held by syz-executor.5/9525: #0: ffffffff8ea979d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x95/0x400 net/ipv4/ip_tunnel.c:1139 3 locks held by syz-executor.5/9537: #0: ffffffff8ea979d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x95/0x400 net/ipv4/ip_tunnel.c:1139 #2: ffffffff8cfb7638 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8cfb7638 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b1/0x800 kernel/rcu/tree_exp.h:996 2 locks held by syz-executor.3/9534: #0: ffffffff8ea979d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8cfb7500 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4030 2 locks held by syz-executor.3/9538: #0: ffffffff8ea979d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_delete_nets+0x95/0x400 net/ipv4/ip_tunnel.c:1139 1 lock held by syz-executor.2/9584: #0: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a1/0x1090 net/core/dev_ioctl.c:810 1 lock held by syz-executor.2/9588: #0: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a1/0x1090 net/core/dev_ioctl.c:810 1 lock held by syz-executor.2/9590: #0: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a1/0x1090 net/core/dev_ioctl.c:810 1 lock held by syz-executor.2/9591: #0: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a1/0x1090 net/core/dev_ioctl.c:810 1 lock held by syz-executor.2/9592: #0: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a1/0x1090 net/core/dev_ioctl.c:810 1 lock held by syz-executor.2/9593: #0: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a1/0x1090 net/core/dev_ioctl.c:810 1 lock held by syz-executor.2/9594: #0: ffffffff8eaacf68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x1a1/0x1090 net/core/dev_ioctl.c:810 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5121 Comm: syz-executor.4 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:kasan_check_range+0x12/0x190 mm/kasan/generic.c:186 Code: c4 dd ff ff 89 43 08 5b 5d 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 48 85 f6 0f 84 48 01 00 00 48 89 f8 41 54 <44> 0f b6 c2 48 01 f0 55 53 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff RSP: 0018:ffffc90003eafb58 EFLAGS: 00000002 RAX: ffffffff91f1aeb0 RBX: 00000000000001ae RCX: ffffffff81672c0e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff91f1aeb0 RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff23e35d6 R10: ffffffff91f1aeb7 R11: 0000000000000000 R12: ffff888027250ac0 R13: 0000000000000000 R14: 0000000000000000 R15: 00000000000001ae FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:0000000057c09400 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000c00cfd6000 CR3: 0000000041161000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 check_wait_context kernel/locking/lockdep.c:4774 [inline] __lock_acquire+0x437/0x3b20 kernel/locking/lockdep.c:5087 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 __might_fault mm/memory.c:5955 [inline] __might_fault+0x11f/0x1a0 mm/memory.c:5948 clear_rseq_cs kernel/rseq.c:257 [inline] rseq_ip_fixup kernel/rseq.c:291 [inline] __rseq_handle_notify_resume+0xd5d/0x1020 kernel/rseq.c:329 rseq_handle_notify_resume include/linux/sched.h:2361 [inline] resume_user_mode_work include/linux/resume_user_mode.h:61 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x170/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 __do_fast_syscall_32+0x6f/0xe0 arch/x86/entry/common.c:233 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:255 entry_SYSENTER_compat_after_hwframe+0x70/0x7a RIP: 0023:0xf7f45579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f749fc80 EFLAGS: 00000293 ORIG_RAX: 000000000000010b RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 00000000f749fcb4 RSI: 00000000f749fcac RDI: 00000000f749fcb4 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000