rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5268/1:b..l rcu: (detected by 0, t=10502 jiffies, g=10301, q=37 ncpus=2) task:syz-executor870 state:R running task stack:27392 pid:5268 tgid:5268 ppid:5236 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 preempt_schedule_common+0x44/0xc0 kernel/sched/core.c:6708 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 unwind_next_frame+0x1c90/0x23a0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0x64a/0xe40 mm/page_alloc.c:2619 __put_partials+0x14c/0x170 mm/slub.c:3049 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3989 [inline] slab_alloc_node mm/slub.c:4038 [inline] __kmalloc_cache_noprof+0x11e/0x300 mm/slub.c:4185 kmalloc_noprof include/linux/slab.h:690 [inline] kzalloc_noprof include/linux/slab.h:816 [inline] kobject_uevent_env+0x265/0x1860 lib/kobject_uevent.c:540 device_remove+0xc8/0x170 drivers/base/dd.c:566 __device_release_driver drivers/base/dd.c:1272 [inline] device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1295 driver_detach+0xd8/0x1b0 drivers/base/dd.c:1358 bus_remove_driver+0x13b/0x2c0 drivers/base/bus.c:742 driver_unregister+0x76/0xb0 drivers/base/driver.c:274 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1731 raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x3f6/0xb60 fs/file_table.c:431 __fput_sync+0x45/0x50 fs/file_table.c:516 __do_sys_close fs/open.c:1565 [inline] __se_sys_close fs/open.c:1550 [inline] __x64_sys_close+0x86/0x100 fs/open.c:1550 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5fd9b48f2a RSP: 002b:00007ffcbe36b000 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f5fd9b48f2a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000001b2ae R08: 00007f5fd9af6080 R09: 0000000006f8090c R10: 00007ffcbe36b040 R11: 0000000000000293 R12: 00007f5fd9bcb3ec R13: 000000000001be98 R14: 431bde82d7b634db R15: 00007ffcbe36b060 rcu: rcu_preempt kthread starved for 1566 jiffies! g10301 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:28640 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 1851 Comm: kworker/1:2 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: usb_hub_wq hub_event RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x258/0x23a0 arch/x86/kernel/unwind_orc.c:494 Code: 8d 70 ff 89 44 24 3c 44 89 f6 e8 23 d9 4e 00 45 39 f5 0f 83 f8 19 00 00 e8 95 d7 4e 00 45 89 ee 48 b8 00 00 00 00 00 fc ff df <4a> 8d 3c b5 64 83 67 91 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 RSP: 0018:ffffc90000a18050 EFLAGS: 00000006 RAX: dffffc0000000000 RBX: ffffc90000a180d0 RCX: ffffffff813d013d RDX: ffff88802a3c5a00 RSI: ffffffff813d014b RDI: 0000000000000004 RBP: 0000000000000002 R08: 0000000000000004 R09: 000000000005a285 R10: 00000000000a4000 R11: 0000000000000000 R12: ffffffff86a28577 R13: 000000000005a285 R14: 000000000005a285 R15: ffffc90000a18105 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd1b869a78 CR3: 000000007e3fe000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:579 poison_slab_object+0xf7/0x160 mm/kasan/common.c:240 __kasan_slab_free+0x32/0x50 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2250 [inline] slab_free mm/slub.c:4474 [inline] kfree+0x12a/0x3b0 mm/slub.c:4595 dummy_timer+0x1750/0x38d0 drivers/usb/gadget/udc/dummy_hcd.c:1981 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x43/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:430 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x425/0xc90 kernel/locking/qspinlock.c:508 Code: 00 01 00 00 66 89 8c 24 80 00 00 00 41 0f b6 07 44 38 e0 7f 08 84 c0 0f 85 0b 07 00 00 0f b6 03 84 c0 0f 84 b0 00 00 00 f3 90 <41> 83 ed 01 75 cf 48 b8 00 00 00 00 00 fc ff df 48 8b 74 24 20 48 RSP: 0018:ffffc90000a18970 EFLAGS: 00000206 RAX: 0000000000000003 RBX: ffffffff8f012560 RCX: 0000000000000100 RDX: 0000000000000001 RSI: ffffffff8b1ae42d RDI: ffffffff8bb118a0 RBP: dffffc0000000000 R08: 0000000000000001 R09: fffffbfff2d39aed R10: ffffffff969cd76f R11: 0000000000000000 R12: 0000000000000000 R13: 000000000000726f R14: ffff8880b893fa40 R15: fffffbfff1e024ac pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:584 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x210/0x2c0 kernel/locking/spinlock_debug.c:116 spin_lock include/linux/spinlock.h:351 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x738/0x12f0 drivers/net/wireless/virtual/mac80211_hwsim.c:1817 mac80211_hwsim_tx_frame+0x1eb/0x2a0 drivers/net/wireless/virtual/mac80211_hwsim.c:2215 __mac80211_hwsim_beacon_tx drivers/net/wireless/virtual/mac80211_hwsim.c:2232 [inline] mac80211_hwsim_beacon_tx+0x592/0xa00 drivers/net/wireless/virtual/mac80211_hwsim.c:2315 __iterate_interfaces+0x2d0/0x5d0 net/mac80211/util.c:774 ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:810 mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2345 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1770 handle_softirqs+0x216/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:stack_trace_consume_entry+0xf/0x170 kernel/stacktrace.c:83 Code: ea ff ff ff eb c7 e8 60 90 a0 09 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 55 <53> 48 89 fb 48 83 c7 10 48 89 fa 48 83 ec 08 48 c1 ea 03 0f b6 04 RSP: 0018:ffffc90004b874a8 EFLAGS: 00000293 RAX: dffffc0000000000 RBX: ffffffff86cbe190 RCX: ffffffff81341bfe RDX: ffff88802a3c5a00 RSI: ffffffff86cbe190 RDI: ffffc90004b87580 RBP: ffffc90004b87550 R08: 0000000000000007 R09: 0000000000000000 R10: ffffffff86cbe190 R11: 0000000000000000 R12: ffffc90004b874c0 R13: ffffffff817774c0 R14: ffffc90004b87580 R15: ffff88802a3c5a00 arch_stack_walk+0xe1/0x170 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0x64a/0xe40 mm/page_alloc.c:2619 __put_partials+0x14c/0x170 mm/slub.c:3049 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x192/0x1e0 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x8a/0xb0 mm/kasan/common.c:378 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:4159 [inline] __kmalloc_noprof+0x1e8/0x400 mm/slub.c:4171 kmalloc_noprof include/linux/slab.h:694 [inline] usb_alloc_urb+0x69/0xa0 drivers/usb/core/urb.c:75 usb_internal_control_msg drivers/usb/core/message.c:96 [inline] usb_control_msg+0x1d4/0x4b0 drivers/usb/core/message.c:154 get_port_status drivers/usb/core/hub.c:604 [inline] hub_ext_port_status+0x14e/0x670 drivers/usb/core/hub.c:621 usb_hub_port_status drivers/usb/core/hub.c:671 [inline] port_event drivers/usb/core/hub.c:5714 [inline] hub_event+0x6e0/0x4e10 drivers/usb/core/hub.c:5903 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 5.844 msecs