INFO: task kworker/0:6:8518 blocked for more than 143 seconds. Not tainted 5.16.0-rc4-next-20211208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:23672 pid: 8518 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4d90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 usb_kill_urb.part.0+0x19a/0x220 drivers/usb/core/urb.c:720 usb_kill_urb+0x7f/0xa0 drivers/usb/core/urb.c:715 usb_start_wait_urb+0x24a/0x4c0 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+0x971/0x2e80 drivers/usb/core/hub.c:4922 hub_port_connect drivers/usb/core/hub.c:5282 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5643 [inline] hub_event+0x21ea/0x4460 drivers/usb/core/hub.c:5725 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2318 worker_thread+0x658/0x11f0 kernel/workqueue.c:2465 kthread+0x405/0x4f0 kernel/kthread.c:345 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb828a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 1 lock held by systemd-udevd/2969: 1 lock held by in:imklog/6220: #0: ffff88801b3f6870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:994 2 locks held by agetty/6229: #0: ffff888011b6b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900030732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 5 locks held by kworker/0:6/8518: #0: ffff8881425a5138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881425a5138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8881425a5138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8881425a5138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff8881425a5138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff8881425a5138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2289 #1: ffffc900108d7db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2293 #2: ffff88801e344220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88801e344220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4460 drivers/usb/core/hub.c:5671 #3: ffff88801e3505c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3086 [inline] #3: ffff88801e3505c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5249 [inline] #3: ffff88801e3505c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] #3: ffff88801e3505c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5643 [inline] #3: ffff88801e3505c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1e17/0x4460 drivers/usb/core/hub.c:5725 #4: ffff88801cbe6f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5250 [inline] #4: ffff88801cbe6f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] #4: ffff88801cbe6f68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5643 [inline] #4: ffff88801cbe6f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1e40/0x4460 drivers/usb/core/hub.c:5725 2 locks held by kworker/u4:10/9060: 1 lock held by systemd-udevd/4528: #0: ffff88807eab0460 (sb_writers#3){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3389 [inline] #0: ffff88807eab0460 (sb_writers#3){.+.+}-{0:0}, at: path_openat+0x28d1/0x2940 fs/namei.c:3606 1 lock held by syz-executor.4/5087: #0: ffffffff8bb8c4a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffffffff8bb8c4a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fa/0x620 kernel/rcu/tree_exp.h:840 1 lock held by syz-executor.3/5109: 3 locks held by syz-executor.2/5127: #0: ffff8880b9c39cd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489 #1: ffff8880b9c27988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 #2: ffffffff8bb828a0 (rcu_read_lock){....}-{1:2}, at: trace_sched_stat_runtime include/trace/events/sched.h:517 [inline] #2: ffffffff8bb828a0 (rcu_read_lock){....}-{1:2}, at: update_curr+0x370/0x900 kernel/sched/fair.c:876 2 locks held by syz-executor.2/5129: 1 lock held by syz-executor.3/5135: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc4-next-20211208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x405/0x4f0 kernel/kthread.c:345 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1088 Comm: kworker/u4:5 Not tainted 5.16.0-rc4-next-20211208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy26 ieee80211_iface_work RIP: 0010:memcmp+0x8a/0x1c0 lib/string.c:781 Code: 83 e2 07 42 0f b6 04 30 38 d0 7f 08 84 c0 0f 85 24 01 00 00 48 89 da 48 89 d9 0f b6 45 00 48 c1 ea 03 83 e1 07 42 0f b6 14 32 <38> ca 7f 08 84 d2 0f 85 ed 00 00 00 0f b6 13 29 d0 74 a4 48 83 c4 RSP: 0018:ffffc900050f7508 EFLAGS: 00000202 RAX: 0000000000000010 RBX: ffff888071d2b624 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffff888071d2b61f RDI: ffff88807210b59f RBP: ffff88807210b5a4 R08: ffffffff8accc020 R09: 0000000000000006 R10: ffffffff88866460 R11: 0000000000000006 R12: ffff88807210b59f R13: 0000000000000006 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc664488718 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memcmp include/linux/fortify-string.h:269 [inline] cmp_bss.part.0+0x748/0x860 net/wireless/scan.c:1358 cmp_bss net/wireless/scan.c:1506 [inline] rb_find_bss+0x17d/0x200 net/wireless/scan.c:1506 cfg80211_bss_update+0xc6/0x2070 net/wireless/scan.c:1705 cfg80211_inform_single_bss_frame_data+0x6e8/0xee0 net/wireless/scan.c:2424 cfg80211_inform_bss_frame_data+0xa7/0xb50 net/wireless/scan.c:2457 ieee80211_bss_info_update+0x35b/0xb30 net/mac80211/scan.c:190 ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline] ieee80211_ibss_rx_queued_mgmt+0x19cf/0x3130 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1527 [inline] ieee80211_iface_work+0xa65/0xd00 net/mac80211/iface.c:1581 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2318 worker_thread+0x658/0x11f0 kernel/workqueue.c:2465 kthread+0x405/0x4f0 kernel/kthread.c:345 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 83 e2 07 and $0x7,%edx 3: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 8: 38 d0 cmp %dl,%al a: 7f 08 jg 0x14 c: 84 c0 test %al,%al e: 0f 85 24 01 00 00 jne 0x138 14: 48 89 da mov %rbx,%rdx 17: 48 89 d9 mov %rbx,%rcx 1a: 0f b6 45 00 movzbl 0x0(%rbp),%eax 1e: 48 c1 ea 03 shr $0x3,%rdx 22: 83 e1 07 and $0x7,%ecx 25: 42 0f b6 14 32 movzbl (%rdx,%r14,1),%edx * 2a: 38 ca cmp %cl,%dl <-- trapping instruction 2c: 7f 08 jg 0x36 2e: 84 d2 test %dl,%dl 30: 0f 85 ed 00 00 00 jne 0x123 36: 0f b6 13 movzbl (%rbx),%edx 39: 29 d0 sub %edx,%eax 3b: 74 a4 je 0xffffffe1 3d: 48 rex.W 3e: 83 .byte 0x83 3f: c4 .byte 0xc4