INFO: task kworker/1:2:26489 blocked for more than 143 seconds.
Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:2 state:D stack:23200 pid:26489 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5184 [inline]
__schedule+0xa09/0x4f10 kernel/sched/core.c:6496
schedule+0xd2/0x1f0 kernel/sched/core.c:6568
usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:726
usb_kill_urb+0x7f/0xa0 drivers/usb/core/urb.c:715
usb_start_wait_urb+0x24a/0x4b0 drivers/usb/core/message.c:64
usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:153
usb_get_descriptor+0xdd/0x1d0 drivers/usb/core/message.c:793
usb_get_device_descriptor+0x81/0xf0 drivers/usb/core/message.c:1071
hub_port_init+0xa24/0x34c0 drivers/usb/core/hub.c:4913
hub_port_connect drivers/usb/core/hub.c:5275 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5490 [inline]
port_event drivers/usb/core/hub.c:5646 [inline]
hub_event+0x236f/0x45d0 drivers/usb/core/hub.c:5728
process_one_work+0x991/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
INFO: task kworker/0:0:14670 blocked for more than 144 seconds.
Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0 state:D stack:24344 pid:14670 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5184 [inline]
__schedule+0xa09/0x4f10 kernel/sched/core.c:6496
schedule+0xd2/0x1f0 kernel/sched/core.c:6568
usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:726
usb_kill_urb+0x7f/0xa0 drivers/usb/core/urb.c:715
usb_start_wait_urb+0x24a/0x4b0 drivers/usb/core/message.c:64
usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:153
usb_get_descriptor+0xdd/0x1d0 drivers/usb/core/message.c:793
usb_get_device_descriptor+0x81/0xf0 drivers/usb/core/message.c:1071
hub_port_init+0xa24/0x34c0 drivers/usb/core/hub.c:4913
hub_port_connect drivers/usb/core/hub.c:5275 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5490 [inline]
port_event drivers/usb/core/hub.c:5646 [inline]
hub_event+0x236f/0x45d0 drivers/usb/core/hub.c:5728
process_one_work+0x991/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bd864f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8bd861f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8bd87040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3278:
#0: ffff88814a849098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2177
1 lock held by udevd/3822:
1 lock held by udevd/10112:
2 locks held by kworker/u4:11/15568:
#0: ffff8880b9a39f18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:552 [inline]
#0: ffff8880b9a39f18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x8c/0x120 kernel/sched/core.c:537
#1: ffff8880b9b277c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:889
5 locks held by kworker/1:2/26489:
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000ea3fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff888147ab2190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
#2: ffff888147ab2190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x45d0 drivers/usb/core/hub.c:5674
#3: ffff888147ab54f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3096 [inline]
#3: ffff888147ab54f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5242 [inline]
#3: ffff888147ab54f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5490 [inline]
#3: ffff888147ab54f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5646 [inline]
#3: ffff888147ab54f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1f99/0x45d0 drivers/usb/core/hub.c:5728
#4: ffff8880204dc668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5243 [inline]
#4: ffff8880204dc668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5490 [inline]
#4: ffff8880204dc668 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5646 [inline]
#4: ffff8880204dc668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1fbf/0x45d0 drivers/usb/core/hub.c:5728
5 locks held by kworker/0:0/14670:
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888011b9dd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000411fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff88802103a190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
#2: ffff88802103a190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x45d0 drivers/usb/core/hub.c:5674
#3: ffff88802103d4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3096 [inline]
#3: ffff88802103d4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5242 [inline]
#3: ffff88802103d4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5490 [inline]
#3: ffff88802103d4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5646 [inline]
#3: ffff88802103d4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1f99/0x45d0 drivers/usb/core/hub.c:5728
#4: ffff888020e2a168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5243 [inline]
#4: ffff888020e2a168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5490 [inline]
#4: ffff888020e2a168 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5646 [inline]
#4: ffff888020e2a168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1fbf/0x45d0 drivers/usb/core/hub.c:5728
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc18/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 27109 Comm: kworker/u4:2 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Workqueue: bat_events batadv_nc_worker
RIP: 0010:debug_smp_processor_id+0x13/0x20 lib/smp_processor_id.c:60
Code: 28 48 c7 c7 20 74 28 8a e8 55 ba bb ff e8 b7 f0 cb ff eb a2 0f 1f 00 0f 1f 44 00 00 48 c7 c6 60 74 28 8a 48 c7 c7 a0 74 28 8a 78 fe ff ff 0f 1f 84 00 00 00 00 00 55 48 89 fd 0f 1f 44 00 00
RSP: 0000:ffffc900063e7c68 EFLAGS: 00000283
RAX: 0000000000000000 RBX: ffff888034bd1d78 RCX: 0000000000000000
RDX: ffff88807d641d40 RSI: ffffffff8a287460 RDI: ffffffff8a2874a0
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000000 R14: dffffc0000000000 R15: 00000000000003af
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0378a6020 CR3: 0000000016a77000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline]
rcu_is_watching+0xe/0xb0 kernel/rcu/tree.c:718
rcu_read_unlock include/linux/rcupdate.h:735 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x836/0xfa0 net/batman-adv/network-coding.c:719
process_one_work+0x991/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 48 c7 c7 20 74 28 8a mov $0xffffffff8a287420,%rdi
7: e8 55 ba bb ff callq 0xffbbba61
c: e8 b7 f0 cb ff callq 0xffcbf0c8
11: eb a2 jmp 0xffffffb5
13: 0f 1f 00 nopl (%rax)
16: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
1b: 48 c7 c6 60 74 28 8a mov $0xffffffff8a287460,%rsi
22: 48 c7 c7 a0 74 28 8a mov $0xffffffff8a2874a0,%rdi
* 29: e9 78 fe ff ff jmpq 0xfffffea6 <-- trapping instruction
2e: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
35: 00
36: 55 push %rbp
37: 48 89 fd mov %rdi,%rbp
3a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)