RBP: 00007fbd07249ff0 R08: 0000000000000010 R09: 00332e6364755f79 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbd07248fc0 R14: 0000000020000300 R15: 00007fbd08284320 watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [syz.3.871:3414] Modules linked in: CPU: 0 PID: 3414 Comm: syz.3.871 Not tainted 5.15.151-syzkaller-00415-gdb06c48ab67e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 2b 02 f3 03 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc90000e073a0 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff920001c0e78 RCX: ffffffff8154fbdf RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881267129c8 RBP: ffffc90000e07450 R08: dffffc0000000000 R09: ffffed1024ce253a R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881267129c8 R14: 0000000000000003 R15: 1ffff920001c0e7c FS: 00007fbd0724b6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbd07249ff0 CR3: 000000010a5f1000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0xb1/0x2f0 net/core/sock_map.c:937 bpf_prog_2c29ac5cdc6b1842+0x3a/0x570 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 sk_psock_free_link include/linux/skmsg.h:420 [inline] sock_map_del_link net/core/sock_map.c:160 [inline] sock_map_unref+0x352/0x4d0 net/core/sock_map.c:182 sock_hash_delete_elem+0x274/0x2f0 net/core/sock_map.c:941 bpf_prog_2c29ac5cdc6b1842+0x3a/0x570 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 ida_alloc_range+0x987/0xa80 lib/idr.c:460 ida_alloc include/linux/idr.h:275 [inline] raw_ioctl_init drivers/usb/gadget/legacy/raw_gadget.c:458 [inline] raw_ioctl+0x1a38/0x3510 drivers/usb/gadget/legacy/raw_gadget.c:1252 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0x114/0x190 fs/ioctl.c:860 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fbd07fc97db Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007fbd07248f20 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007fbd07fc97db RDX: 00007fbd07249ff0 RSI: 0000000041015500 RDI: 0000000000000008 RBP: 00007fbd07249ff0 R08: 0000000000000010 R09: 00332e6364755f79 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbd07248fc0 R14: 0000000020000300 R15: 00007fbd08284320 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 400 Comm: kworker/1:5 Not tainted 5.15.151-syzkaller-00415-gdb06c48ab67e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: usb_hub_wq hub_event RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 2b 02 f3 03 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc90000ed6e00 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff920001dadc4 RCX: 1ffffffff0d1aa9c RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7138ad4 RBP: ffffc90000ed6eb0 R08: dffffc0000000000 R09: ffffed103ee2715b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7138ad4 R14: 0000000000000001 R15: 1ffff920001dadc8 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbd08158030 CR3: 000000011d8ad000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_node kernel/locking/qspinlock_paravirt.h:325 [inline] __pv_queued_spin_lock_slowpath+0x41b/0xc40 kernel/locking/qspinlock.c:473 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178 sock_hash_delete_elem+0xb1/0x2f0 net/core/sock_map.c:937 bpf_prog_2c29ac5cdc6b1842+0x3a/0x570 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118 trace_kfree include/trace/events/kmem.h:118 [inline] kfree+0x1f3/0x220 mm/slub.c:4569 rh_call_control drivers/usb/core/hcd.c:732 [inline] rh_urb_enqueue drivers/usb/core/hcd.c:848 [inline] usb_hcd_submit_urb+0x7b6/0x1b70 drivers/usb/core/hcd.c:1555 usb_submit_urb+0x118c/0x1840 drivers/usb/core/urb.c:594 usb_start_wait_urb+0x120/0x350 drivers/usb/core/message.c:58 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x2ad/0x4c0 drivers/usb/core/message.c:153 get_port_status drivers/usb/core/hub.c:592 [inline] hub_ext_port_status+0xfe/0x6b0 drivers/usb/core/hub.c:609 hub_port_reset+0x696/0x1d30 drivers/usb/core/hub.c:3009 hub_port_init+0x2cd/0x2760 drivers/usb/core/hub.c:4865 hub_port_connect drivers/usb/core/hub.c:5432 [inline] hub_port_connect_change drivers/usb/core/hub.c:5643 [inline] port_event drivers/usb/core/hub.c:5793 [inline] hub_event+0x29b9/0x4770 drivers/usb/core/hub.c:5875 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298