INFO: task kworker/0:3:3698 blocked for more than 143 seconds.
Not tainted 6.0.0-syzkaller-05118-g833477fce7a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:3 state:D stack:24280 pid: 3698 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5183 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6495
schedule+0xcb/0x190 kernel/sched/core.c:6571
usb_kill_urb+0x1d5/0x310 drivers/usb/core/urb.c:726
usb_start_wait_urb+0x1af/0x510 drivers/usb/core/message.c:64
usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
usb_control_msg+0x2a5/0x4b0 drivers/usb/core/message.c:153
hub_port_init+0x988/0x22e0 drivers/usb/core/hub.c:4825
hub_port_connect+0xc75/0x2930 drivers/usb/core/hub.c:5282
hub_port_connect_change+0x619/0xbe0 drivers/usb/core/hub.c:5497
port_event+0xec6/0x13b0 drivers/usb/core/hub.c:5653
hub_event+0x5c1/0xd80 drivers/usb/core/hub.c:5735
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cd1f1b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cd1f9b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/29:
#0: ffffffff8cd1efe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3288:
#0: ffff8880273bf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
5 locks held by kworker/0:3/3698:
#0: ffff888145ce5538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc9000464fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffff888147d6f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
#2: ffff888147d6f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bb/0xd80 drivers/usb/core/hub.c:5681
#3: ffff888147d8a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3103 [inline]
#3: ffff888147d8a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0x4f5/0x2930 drivers/usb/core/hub.c:5249
#4: ffff888021d73b68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect+0x526/0x2930 drivers/usb/core/hub.c:5250
2 locks held by kworker/0:9/20945:
#0: ffff888012066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc9000424fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
3 locks held by kworker/0:1/3360:
#0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc90004bffd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffffffff8cd245b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#2: ffffffff8cd245b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a6/0x890 kernel/rcu/tree_exp.h:946
1 lock held by syz-executor.5/18367:
#0: ffffffff8cd24480 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x670 kernel/rcu/tree.c:3951
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.0.0-syzkaller-05118-g833477fce7a1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x169/0x280 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+0xcd5/0xd20 kernel/hung_task.c:369
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3360 Comm: kworker/0:1 Not tainted 6.0.0-syzkaller-05118-g833477fce7a1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Workqueue: events pwq_unbound_release_workfn
RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:5956 [inline]
RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:5995 [inline]
RIP: 0010:zap_class+0x2ff/0x840 kernel/locking/lockdep.c:6037
Code: eb b9 66 0f 1f 84 00 00 00 00 00 49 8b 07 4c 8d 78 f8 48 85 c0 4c 0f 44 f8 4d 85 ff 74 9d 4d 89 fd 49 c1 ed 03 43 8a 44 35 00 <84> c0 0f 85 21 02 00 00 41 8b 1f f6 c3 fc 0f 84 f2 01 00 00 48 c1
RSP: 0018:ffffc90004bffac8 EFLAGS: 00000802
RAX: ffffffff900ebe00 RBX: 0000000000039d1c RCX: ffffffff81699324
RDX: 0000000000000001 RSI: 0000000000039d1c RDI: 0000000000039d19
RBP: 0000000000000089 R08: dffffc0000000000 R09: fffffbfff22f34e4
R10: fffffbfff22f34e4 R11: 1ffffffff22f34e3 R12: 0000000000000e2b
R13: 1ffffffff201d7c8 R14: dffffc0000000000 R15: ffffffff900ebe40
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a0e57fc18 CR3: 000000009fb1d000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lockdep_free_key_range kernel/locking/lockdep.c:6156 [inline]
lockdep_unregister_key+0x490/0x600 kernel/locking/lockdep.c:6352
wq_unregister_lockdep kernel/workqueue.c:3497 [inline]
pwq_unbound_release_workfn+0x245/0x290 kernel/workqueue.c:3735
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306