INFO: task kworker/0:1:9 blocked for more than 143 seconds.
Not tainted 6.7.0-rc5-next-20231218-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1 state:D stack:25632 pid:9 tgid:9 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5399 [inline]
__schedule+0xf15/0x5c80 kernel/sched/core.c:6726
__schedule_loop kernel/sched/core.c:6801 [inline]
schedule+0xe7/0x270 kernel/sched/core.c:6816
usb_kill_urb.part.0+0x1c6/0x250 drivers/usb/core/urb.c:713
usb_kill_urb+0x83/0xa0 drivers/usb/core/urb.c:702
usb_start_wait_urb+0x251/0x4c0 drivers/usb/core/message.c:65
usb_internal_control_msg drivers/usb/core/message.c:103 [inline]
usb_control_msg+0x327/0x4a0 drivers/usb/core/message.c:154
get_bMaxPacketSize0.constprop.0+0xa5/0x1c0 drivers/usb/core/hub.c:4750
hub_port_init+0x68c/0x39e0 drivers/usb/core/hub.c:4946
hub_port_connect drivers/usb/core/hub.c:5394 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5605 [inline]
port_event drivers/usb/core/hub.c:5765 [inline]
hub_event+0x2b61/0x4e10 drivers/usb/core/hub.c:5847
process_one_work+0x8a4/0x15f0 kernel/workqueue.c:2633
process_scheduled_works kernel/workqueue.c:2706 [inline]
worker_thread+0x8b6/0x1290 kernel/workqueue.c:2787
kthread+0x2c1/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
INFO: task syz-executor395:5066 blocked for more than 143 seconds.
Not tainted 6.7.0-rc5-next-20231218-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor395 state:D stack:26608 pid:5066 tgid:5066 ppid:5063 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5399 [inline]
__schedule+0xf15/0x5c80 kernel/sched/core.c:6726
__schedule_loop kernel/sched/core.c:6801 [inline]
schedule+0xe7/0x270 kernel/sched/core.c:6816
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6873
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x5b4/0x9c0 kernel/locking/mutex.c:752
device_lock include/linux/device.h:991 [inline]
usbdev_release+0x87/0x470 drivers/usb/core/devio.c:1096
__fput+0x270/0xb70 fs/file_table.c:381
__fput_sync+0x47/0x50 fs/file_table.c:466
__do_sys_close fs/open.c:1592 [inline]
__se_sys_close fs/open.c:1577 [inline]
__x64_sys_close+0x86/0xf0 fs/open.c:1577
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x62/0x6a
RIP: 0033:0x7f262ed789a0
RSP: 002b:00007ffdc45d8d28 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f262ed789a0
RDX: 0000000000000007 RSI: 00007ffdc45d8860 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000f4240
R13: 00007f262edf0b20 R14: 00007f262edf2ce0 R15: 00007f262edf0480
Showing all locks held in the system:
5 locks held by kworker/0:1/9:
#0: ffff8880186ca938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78c/0x15f0 kernel/workqueue.c:2608
#1: ffffc900000e7d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7f6/0x15f0 kernel/workqueue.c:2609
#2: ffff888021138190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:991 [inline]
#2: ffff888021138190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e10 drivers/usb/core/hub.c:5793
#3: ffff88802113c510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3151 [inline]
#3: ffff88802113c510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5362 [inline]
#3: ffff88802113c510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5605 [inline]
#3: ffff88802113c510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5765 [inline]
#3: ffff88802113c510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x27fe/0x4e10 drivers/usb/core/hub.c:5847
#4: ffff888020dfdb68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5363 [inline]
#4: ffff888020dfdb68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5605 [inline]
#4: ffff888020dfdb68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5765 [inline]
#4: ffff888020dfdb68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2827/0x4e10 drivers/usb/core/hub.c:5847
1 lock held by khungtaskd/29:
#0: ffffffff8d1aca20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d1aca20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d1aca20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by getty/4819:
#0: ffff88814c6c70a0 (&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+0xfc4/0x1490 drivers/tty/n_tty.c:2201
1 lock held by syz-executor395/5066:
#0: ffff888021138190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:991 [inline]
#0: ffff888021138190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x470 drivers/usb/core/devio.c:1096
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc5-next-20231218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x2c1/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: 1084 Comm: kworker/u4:6 Not tainted 6.7.0-rc5-next-20231218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: 0x0 (events_unbound)
RIP: 0010:newidle_balance+0x110/0x1250 kernel/sched/fair.c:12284
Code: b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 9d 0d 00 00 44 8b a3 88 00 00 00 45 85 e4 <0f> 84 82 00 00 00 45 31 e4 48 b8 00 00 00 00 00 fc ff df 48 8b 74
RSP: 0018:ffffc90004d8fab0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff8880b993cd00 RCX: ffffffff8160402e
RDX: 1ffff110173279b1 RSI: ffffc90004d8fd48 RDI: ffff8880b993cd00
RBP: 00000000fffffa44 R08: 0000000000000000 R09: fffffbfff1e741a2
R10: ffffffff8f3a0d17 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88801ebabb80 R14: ffff8880b993cd88 R15: ffff8880b993cd00
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005589aeb43600 CR3: 000000000cf78000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pick_next_task_fair+0x87/0x1200 kernel/sched/fair.c:8477
__pick_next_task kernel/sched/core.c:6020 [inline]
pick_next_task kernel/sched/core.c:6110 [inline]
__schedule+0x4b1/0x5c80 kernel/sched/core.c:6690
__schedule_loop kernel/sched/core.c:6801 [inline]
schedule+0xe7/0x270 kernel/sched/core.c:6816
worker_thread+0x2de/0x1290 kernel/workqueue.c:2802
kthread+0x2c1/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
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.380 msecs