INFO: task kworker/1:16:9745 blocked for more than 145 seconds.
Not tainted 5.15.120-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:16 state:D stack:26144 pid: 9745 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
usb_kill_urb+0x1c9/0x300 drivers/usb/core/urb.c:726
usb_start_wait_urb+0x1ac/0x510 drivers/usb/core/message.c:64
usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
usb_control_msg+0x2ad/0x4c0 drivers/usb/core/message.c:153
hub_port_init+0xa05/0x23f0 drivers/usb/core/hub.c:4832
hub_port_connect drivers/usb/core/hub.c:5287 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
port_event drivers/usb/core/hub.c:5648 [inline]
hub_event+0x29ec/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:
1 lock held by khungtaskd/27:
#0: ffffffff8c91e6a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3256:
#0: ffff88814a955098 (&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
3 locks held by syz-executor.0/3540:
2 locks held by kworker/u4:9/3722:
#0: ffff8880b9b396d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891
2 locks held by kworker/u4:22/9041:
5 locks held by kworker/1:16/9745:
#0: ffff88814478e538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280
#1: ffffc9000b24fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
#2: ffff88801f35e220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff88801f35e220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676
#3: ffff88801f4295c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline]
#3: ffff88801f4295c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline]
#3: ffff88801f4295c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
#3: ffff88801f4295c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline]
#3: ffff88801f4295c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2325/0x56d0 drivers/usb/core/hub.c:5730
#4: ffff88801f2de268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline]
#4: ffff88801f2de268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
#4: ffff88801f2de268 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline]
#4: ffff88801f2de268 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730
3 locks held by syz-executor.2/16626:
1 lock held by syz-executor.1/16644:
1 lock held by syz-executor.1/16649:
#0: ffff88809d2e6120 (sk_lock-AF_ALG){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1661 [inline]
#0: ffff88809d2e6120 (sk_lock-AF_ALG){+.+.}-{0:0}, at: sock_setsockopt+0x481/0x2f10 net/core/sock.c:983
1 lock held by syz-executor.1/16653:
#0: ffff88809d2e6120 (sk_lock-AF_ALG){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1661 [inline]
#0: ffff88809d2e6120 (sk_lock-AF_ALG){+.+.}-{0:0}, at: hash_sendmsg+0x8e/0xb10 crypto/algif_hash.c:76
2 locks held by syz-executor.3/16646:
1 lock held by syz-executor.3/16652:
#0: ffff888035585120 (sk_lock-AF_ALG){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1661 [inline]
#0: ffff888035585120 (sk_lock-AF_ALG){+.+.}-{0:0}, at: sock_setsockopt+0x481/0x2f10 net/core/sock.c:983
1 lock held by syz-executor.3/16654:
#0: ffff8880b9a396d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.120-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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: 9063 Comm: syz-executor.5 Not tainted 5.15.120-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3681 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3700 [inline]
RIP: 0010:validate_chain+0x199/0x58b0 kernel/locking/lockdep.c:3755
Code: 89 df e8 4a 47 66 00 48 89 5c 24 18 48 8b 1b 48 85 db 74 48 48 83 c3 f8 74 42 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 ff e8 1d 47 66 00 49 8b 07 4c 39 f0 0f 84 d1 03 00 00
RSP: 0018:ffffc900000074c0 EFLAGS: 00000046
RAX: 1ffffffff1fd0403 RBX: ffffffff8fe82000 RCX: ffffffff816326d2
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fbd3110
RBP: ffffc90000007770 R08: dffffc0000000000 R09: fffffbfff1f7a623
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88802dde6478 R14: adacf987a2bc10a0 R15: ffffffff8fe82018
FS: 0000555555eb5400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa0d69f4718 CR3: 0000000019a8d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x1295/0x1ff0 kernel/locking/lockdep.c:5011
lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
try_to_wake_up+0xae/0x1300 kernel/sched/core.c:4026
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
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:copy_user_enhanced_fast_string+0x0/0x40 arch/x86/lib/copy_user_64.S:176
Code: 8a 06 88 07 48 ff c6 48 ff c7 ff c9 75 f2 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 <0f> 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 f3 a4 31 c0 0f 01 ca c3
RSP: 0018:ffffc90008d57d68 EFLAGS: 00000256
RAX: ffffffff84066401 RBX: 00007ffcf70dece0 RCX: ffffffff8406641b
RDX: 0000000000000010 RSI: 00007ffcf70decd0 RDI: ffffc90008d57de0
RBP: ffffc90008d57e50 R08: dffffc0000000000 R09: fffff520011aafbe
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000010
R13: 00007ffffffff000 R14: ffffc90008d57de0 R15: 00007ffcf70decd0
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline]
_copy_from_user+0xf9/0x170 lib/usercopy.c:23
copy_from_user include/linux/uaccess.h:192 [inline]
get_timespec64+0x93/0x270 kernel/time/time.c:787
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1270 [inline]
__se_sys_clock_nanosleep+0x1a1/0x3b0 kernel/time/posix-timers.c:1258
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fd97e6cc0b1
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f
RSP: 002b:00007ffcf70dec90 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 00000000000003f5 RCX: 00007fd97e6cc0b1
RDX: 00007ffcf70decd0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffcf70ded5c R08: 0000000000000000 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 0000000000134f26 R14: 0000000000000000 R15: 00007ffcf70dedc0