INFO: task kworker/1:1:42 blocked for more than 143 seconds.
Not tainted 6.10.0-rc2-syzkaller-00024-g5821bf2dffbe #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:1 state:R
running task
stack:21872 pid:42 tgid:42 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xca6/0x3170 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline]
__down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306
kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778
__kernfs_create_file+0x295/0x350 fs/kernfs/file.c:1063
sysfs_add_file_mode_ns+0x1ff/0x3b0 fs/sysfs/file.c:307
sysfs_merge_group+0x1b1/0x340 fs/sysfs/group.c:373
dpm_sysfs_add+0x237/0x280 drivers/base/power/sysfs.c:707
device_add+0x9a8/0x1a70 drivers/base/core.c:3681
cdev_device_add+0x12b/0x270 fs/char_dev.c:556
evdev_connect+0x3a4/0x4c0 drivers/input/evdev.c:1386
input_attach_handler.isra.0+0x181/0x260 drivers/input/input.c:1064
input_register_device+0xb22/0x1140 drivers/input/input.c:2470
usb_probe+0x1075/0x17b0 drivers/input/misc/yealink.c:964
usb_probe_interface+0x309/0x9d0 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:656
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:798
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:828
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:956
bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
__device_attach+0x1e8/0x4b0 drivers/base/dd.c:1028
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x114b/0x1a70 drivers/base/core.c:3721
usb_set_configuration+0x10cb/0x1c50 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:254
usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:294
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:656
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:798
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:828
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:956
bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
__device_attach+0x1e8/0x4b0 drivers/base/dd.c:1028
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x114b/0x1a70 drivers/base/core.c:3721
usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651
hub_port_connect drivers/usb/core/hub.c:5521 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
port_event drivers/usb/core/hub.c:5821 [inline]
hub_event+0x2e66/0x4f50 drivers/usb/core/hub.c:5903
process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Showing all locks held in the system:
6 locks held by kworker/0:1/9:
#0:
ffff8881052ccd48
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1:
ffffc9000009fd80
((work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2:
ffff888106b9e190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3:
ffff8881399c0190
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003
#4:
ffff888106b77160
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003
#5:
ffffffff892e8dc8
(
input_mutex
){+.+.}-{3:3}
, at: input_register_device+0xa2b/0x1140 drivers/input/input.c:2463
1 lock held by khungtaskd/30:
#0:
ffffffff886b4620
(rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
7 locks held by kworker/1:1/42:
#0: ffff8881052ccd48
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1:
ffffc900002c7d80
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2:
ffff888109b01190
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3:
ffff888139829190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003
#4:
ffff8881399a7160
(&dev->mutex
){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1003
#5: ffffffff892e8dc8 (input_mutex){+.+.}-{3:3}, at: input_register_device+0xa2b/0x1140 drivers/input/input.c:2463
#6:
ffff888100aae948 (
&root->kernfs_rwsem){++++}-{3:3}
, at: kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778
2 locks held by getty/2458:
#0: ffff888106bbf0a0
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1:
ffffc900000432f0
(&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.4/2524:
5 locks held by syz-executor.2/2525:
1 lock held by syz-executor.1/2528:
4 locks held by udevd/4756:
#0: ffff888119e351c8
(&p->lock
){+.+.}-{3:3}
, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1:
ffff88811dfe3488
(
&of->mutex
#2){+.+.}-{3:3}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2:
ffff8881362400f8
(
kn->active
#26
){.+.+}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3:
ffff888139829190
(
&dev->mutex
){....}-{3:3}
, at: device_lock_interruptible include/linux/device.h:1014 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
4 locks held by udevd/4788:
#0:
ffff888119e35790
(&p->lock
){+.+.}-{3:3}
, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1: ffff888136599c88
(
&of->mutex
#2
){+.+.}-{3:3}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2:
ffff8881182a60f8
(
kn->active
#26
){.+.+}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3:
ffff8881399c0190
(
&dev->mutex
){....}-{3:3}
, at: device_lock_interruptible include/linux/device.h:1014 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
5 locks held by kworker/1:3/4789:
#0:
ffff8881052ccd48
((wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1: ffffc9000ab7fd80
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2:
ffff88810974d190
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3:
ffff888109758510
(
&port_dev->status_lock
){+.+.}-{3:3}
, at: usb_lock_port drivers/usb/core/hub.c:3206 [inline]
, at: hub_port_connect drivers/usb/core/hub.c:5418 [inline]
, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
, at: port_event drivers/usb/core/hub.c:5821 [inline]
, at: hub_event+0x28b8/0x4f50 drivers/usb/core/hub.c:5903
#4:
ffff888106be9568
(hcd->address0_mutex
){+.+.}-{3:3}
, at: hub_port_connect drivers/usb/core/hub.c:5419 [inline]
, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
, at: port_event drivers/usb/core/hub.c:5821 [inline]
, at: hub_event+0x28de/0x4f50 drivers/usb/core/hub.c:5903
4 locks held by kworker/1:5/4808:
1 lock held by syz-executor.2/4969:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc2-syzkaller-00024-g5821bf2dffbe #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf86/0x1240 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
yealink 5-1:36.0: urb_irq_callback - urb status -71
NMI backtrace for cpu 1
CPU: 1 PID: 2382 Comm: syslogd Not tainted 6.10.0-rc2-syzkaller-00024-g5821bf2dffbe #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:io_serial_in+0x87/0xb0 drivers/tty/serial/8250/8250_port.c:407
Code: a8 b8 fe 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 1a 66 03 5d 40 89 da ec <5b> 0f b6 c0 5d 41 5c c3 cc cc cc cc e8 98 02 0b ff eb a2 e8 21 03
RSP: 0000:ffffc900001b85a8 EFLAGS: 00000006
RAX: dffffc0000000005 RBX: 00000000000003f9 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: ffffffff829a9a90 RDI: ffffffff8d71fc60
RBP: ffffffff8d71fc20 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000000
R13: ffffffff8d71fc20 R14: ffffffff8d71fc70 R15: 000000000000003f
FS: 00007f0f3cfaa380(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3142d000 CR3: 00000001154c0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial_port_in include/linux/serial_core.h:674 [inline]
serial8250_console_write+0x17d/0x1090 drivers/tty/serial/8250/8250_port.c:3357
console_emit_next_record kernel/printk/printk.c:2928 [inline]
console_flush_all+0x53c/0xd70 kernel/printk/printk.c:2994
console_unlock+0xae/0x290 kernel/printk/printk.c:3063
vprintk_emit kernel/printk/printk.c:2345 [inline]
vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2300
dev_vprintk_emit drivers/base/core.c:4951 [inline]
dev_printk_emit+0xfb/0x140 drivers/base/core.c:4962
__dev_printk+0xf5/0x270 drivers/base/core.c:4974
_dev_err+0xe5/0x120 drivers/base/core.c:5017
urb_irq_callback+0x454/0x700 drivers/input/misc/yealink.c:416
__usb_hcd_giveback_urb+0x364/0x5c0 drivers/usb/core/hcd.c:1648
usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1732
dummy_timer+0x17f6/0x3900 drivers/usb/gadget/udc/dummy_hcd.c:1987
__run_hrtimer kernel/time/hrtimer.c:1687 [inline]
__hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1751
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1813
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x8b/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 da 2c 9c fa 48 89 df e8 c2 a9 9c fa e8 8d 47 c5 fa fb bf 01 00 00 00 02 20 91 fa 65 8b 05 83 8c 6e 79 85 c0 74 06 5b c3 cc cc cc cc
RSP: 0000:ffffc900016bfe50 EFLAGS: 00000202
RAX: 00000000000db63d RBX: ffff88811578a6b8 RCX: 1ffffffff137b5c1
RDX: 0000000000000000 RSI: ffffffff86c7d6a0 RDI: 0000000000000001
RBP: ffff88811578a6b8 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff89bde797 R11: 0000000000000000 R12: ffff88811578a620
R13: ffff888115789d00 R14: ffffed1022af14c4 R15: 0000000000000001
task_work_run+0x126/0x250 kernel/task_work.c:176
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x24b/0x250 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0f3d0feb6a
Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffc18748c18 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: 0000000000000057 RBX: 0000000000000002 RCX: 00007f0f3d0feb6a
RDX: 00000000000000ff RSI: 0000563e3684d950 RDI: 0000000000000000
RBP: 0000563e3684d910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000246 R12: 0000563e3684d982
R13: 0000563e3684d950 R14: 0000000000000000 R15: 00007f0f3d2e1a80