INFO: task kworker/0:21:9741 blocked for more than 143 seconds. Not tainted 5.17.0-rc7-syzkaller-00227-g68453767131a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:21 state:D stack:25512 pid: 9741 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 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/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: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:5660 [inline] hub_event+0x238a/0x44d0 drivers/usb/core/hub.c:5742 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb84ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3272: #0: ffff88814b3e4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 5 locks held by kworker/0:21/9741: #0: ffff888012b9d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012b9d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012b9d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012b9d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888012b9d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888012b9d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc900053a7db8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88801d943220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88801d943220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688 #3: ffff88801d946580 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff88801d946580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline] #3: ffff88801d946580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #3: ffff88801d946580 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5660 [inline] #3: ffff88801d946580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1fba/0x44d0 drivers/usb/core/hub.c:5742 #4: ffff88801d588768 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline] #4: ffff88801d588768 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #4: ffff88801d588768 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5660 [inline] #4: ffff88801d588768 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1fe3/0x44d0 drivers/usb/core/hub.c:5742 2 locks held by kworker/u4:5/18649: #0: ffff8880b9d39c58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489 #1: ffffc900047b7db8 ((kfence_timer).work){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc7-syzkaller-00227-g68453767131a #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+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+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16416 Comm: kworker/1:5 Not tainted 5.17.0-rc7-syzkaller-00227-g68453767131a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:419 [inline] RIP: 0010:__lock_acquire+0xc58/0x56c0 kernel/locking/lockdep.c:5015 Code: c1 01 d8 c1 c2 06 31 ca 89 d1 29 d6 01 c2 c1 c1 08 31 f1 89 ce 29 c8 c1 c6 10 31 f0 8d 34 11 89 c1 29 c2 c1 c9 0d 01 f0 89 f7 <31> ca 01 d0 29 d7 89 d1 48 8b 54 24 38 c1 c1 04 31 f9 48 c1 e1 20 RSP: 0018:ffffc90000dc0790 EFLAGS: 00000012 RAX: 0000000072c4fb54 RBX: 00000000e1641a26 RCX: 00000000fab9bbc2 RDX: 00000000bd752e8a RSI: 000000003b4c9bfd RDI: 000000003b4c9bfd RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ffc5947 R10: fffffbfff1ff8b28 R11: 0000000000000001 R12: ffff888047a2e250 R13: ffff888047a2d700 R14: ffffffff8d946328 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7e5e41a1b8 CR3: 0000000073918000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000001000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] ___slab_alloc+0x441/0x12b0 mm/slub.c:2993 __slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3105 slab_alloc_node mm/slub.c:3196 [inline] kmem_cache_alloc_node+0x190/0x4f0 mm/slub.c:3266 __alloc_skb+0x215/0x340 net/core/skbuff.c:414 skb_copy+0x139/0x3c0 net/core/skbuff.c:1584 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb4a/0x1380 drivers/net/wireless/mac80211_hwsim.c:1565 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x49e/0x920 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x560 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 do_softirq.part.0+0xde/0x130 kernel/softirq.c:459 do_softirq kernel/softirq.c:451 [inline] __local_bh_enable_ip+0x102/0x120 kernel/softirq.c:383 spin_unlock_bh include/linux/spinlock.h:394 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:817 [inline] nsim_dev_trap_report_work+0x855/0xbc0 drivers/net/netdevsim/dev.c:843 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: c1 01 d8 roll $0xd8,(%rcx) 3: c1 c2 06 rol $0x6,%edx 6: 31 ca xor %ecx,%edx 8: 89 d1 mov %edx,%ecx a: 29 d6 sub %edx,%esi c: 01 c2 add %eax,%edx e: c1 c1 08 rol $0x8,%ecx 11: 31 f1 xor %esi,%ecx 13: 89 ce mov %ecx,%esi 15: 29 c8 sub %ecx,%eax 17: c1 c6 10 rol $0x10,%esi 1a: 31 f0 xor %esi,%eax 1c: 8d 34 11 lea (%rcx,%rdx,1),%esi 1f: 89 c1 mov %eax,%ecx 21: 29 c2 sub %eax,%edx 23: c1 c9 0d ror $0xd,%ecx 26: 01 f0 add %esi,%eax 28: 89 f7 mov %esi,%edi * 2a: 31 ca xor %ecx,%edx <-- trapping instruction 2c: 01 d0 add %edx,%eax 2e: 29 d7 sub %edx,%edi 30: 89 d1 mov %edx,%ecx 32: 48 8b 54 24 38 mov 0x38(%rsp),%rdx 37: c1 c1 04 rol $0x4,%ecx 3a: 31 f9 xor %edi,%ecx 3c: 48 c1 e1 20 shl $0x20,%rcx