INFO: task kworker/0:3:1283 blocked for more than 143 seconds.
Not tainted 5.15.113-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:3 state:D stack:24824 pid: 1283 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
usb_get_descriptor+0xb3/0x3c0 drivers/usb/core/message.c:793
usb_get_device_descriptor+0x8a/0xe0 drivers/usb/core/message.c:1071
hub_port_init+0x106a/0x23f0 drivers/usb/core/hub.c:4927
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/26:
#0: ffffffff8c91c560 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
5 locks held by kworker/0:3/1283:
#0: ffff8881423c0138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280
#1: ffffc9000546fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
#2: ffff88801f32f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff88801f32f220 (&dev->mutex){....}-{3:3}, at: hub_event+0x207/0x56d0 drivers/usb/core/hub.c:5676
#3: ffff888147a1a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline]
#3: ffff888147a1a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline]
#3: ffff888147a1a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
#3: ffff888147a1a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline]
#3: ffff888147a1a5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2325/0x56d0 drivers/usb/core/hub.c:5730
#4: ffff888147931668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline]
#4: ffff888147931668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
#4: ffff888147931668 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5648 [inline]
#4: ffff888147931668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x235a/0x56d0 drivers/usb/core/hub.c:5730
2 locks held by getty/3257:
#0: ffff88814a824098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900020a32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
7 locks held by syz-executor221/10081:
#0: ffff8880b9a39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891
#2: ffff888018c7b438 (&sig->wait_chldexit){....}-{2:2}, at: __wake_up_common_lock kernel/sched/wait.c:137 [inline]
#2: ffff888018c7b438 (&sig->wait_chldexit){....}-{2:2}, at: __wake_up_sync_key+0xf5/0x1c0 kernel/sched/wait.c:205
#3: ffff8881407a4688 (&memcg->move_lock){..-.}-{2:2}, at: lock_page_memcg+0x227/0x4d0 mm/memcontrol.c:2055
#4: ffffffff8c91c560 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
#5: ffffffff9158f030 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x16b/0x860 lib/debugobjects.c:700
#6: ffffffff8f4bd888 (pvclock_gtod_data){-.-.}-{0:0}, at: notifier_call_chain kernel/notifier.c:83 [inline]
#6: ffffffff8f4bd888 (pvclock_gtod_data){-.-.}-{0:0}, at: raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391
7 locks held by syz-executor221/10109:
#0: ffff8880b9a39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891
#2: ffff888018c7b438 (&sig->wait_chldexit){....}-{2:2}, at: __wake_up_common_lock kernel/sched/wait.c:137 [inline]
#2: ffff888018c7b438 (&sig->wait_chldexit){....}-{2:2}, at: __wake_up_sync_key+0xf5/0x1c0 kernel/sched/wait.c:205
#3:
ffff8881407a4688 (&memcg->move_lock){..-.}-{2:2}, at: lock_page_memcg+0x227/0x4d0 mm/memcontrol.c:2055
#4: ffffffff8c91c560 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
#5: ffffffff9158f030 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x16b/0x860 lib/debugobjects.c:700
#6: ffffffff8f4bd888 (pvclock_gtod_data){-.-.}-{0:0}, at: notifier_call_chain kernel/notifier.c:83 [inline]
#6: ffffffff8f4bd888 (pvclock_gtod_data){-.-.}-{0:0}, at: raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.113-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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10181 Comm: syz-executor221 Not tainted 5.15.113-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:212 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:156 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:263 [inline]
RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:207
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 df 2b f1 02 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc90000dd0e60 EFLAGS: 00000046
RAX: 0000000000088cca RBX: ffffffff8c34b998 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000088cca RDI: 0000000000000838
RBP: 0000000000088cca R08: ffffffff81721c7d R09: fffffbfff1bc76ce
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9b27240
R13: dffffc0000000000 R14: 0000000000088cca R15: dffffc0000000000
FS: 00005555570d1300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7e346d7044 CR3: 00000000624df000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
apic_write arch/x86/include/asm/apic.h:394 [inline]
lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:468
clockevents_program_event+0x1c5/0x310 kernel/time/clockevents.c:334
hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1824
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
__sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:console_trylock_spinning+0x36b/0x3f0 kernel/printk/printk.c:1909
Code: 0f 84 75 ff ff ff e8 24 ec 19 00 fb 31 db eb 41 e8 1a ec 19 00 e8 55 ab b4 08 4d 85 ed 74 cd e8 0b ec 19 00 fb bb 01 00 00 00 <48> c7 c7 20 8e 7f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc90005d97660 EFLAGS: 00000293
RAX: ffffffff8165fd45 RBX: 0000000000000001 RCX: ffff88807c760000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90005d97730 R08: ffffffff8165fcfe R09: fffffbfff1f7923a
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000bb2ecc
R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000
vprintk_emit+0xa1/0x150 kernel/printk/printk.c:2267
dev_vprintk_emit+0x2aa/0x323 drivers/base/core.c:4595
dev_printk_emit+0xd9/0x118 drivers/base/core.c:4606
_dev_err+0x11e/0x165 drivers/base/core.c:4661
attach_store+0xb8c/0x11a0 drivers/usb/usbip/vhci_sysfs.c:406
kernfs_fop_write_iter+0x3a2/0x4f0 fs/kernfs/file.c:296
call_write_iter include/linux/fs.h:2103 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0xacf/0xe50 fs/read_write.c:594
ksys_write+0x1a2/0x2c0 fs/read_write.c:647
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:0x7f7e346412c3
Code: ff ff ff ff e8 5e c7 03 00 39 e8 75 ea e9 22 ff ff ff 0f 1f 44 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18
RSP: 002b:00007fffcb64dc18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007f7e346412c3
RDX: 0000000000000007 RSI: 00007fffcb64dc40 RDI: 0000000000000005
RBP: 0000000000000005 R08: 0000000000000000 R09: 00007fffcb64db90
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffcb64dc40
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.314 msecs