rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=58209, q=857 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10491 (4294989638-4294979147), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10491 jiffies! g58209 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13284 Comm: syz.5.2984 Not tainted 6.10.0-rc5-syzkaller-00012-g626737a5791b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:unwind_next_frame+0x794/0x2a00 arch/x86/kernel/unwind_orc.c:512 Code: 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 4d 89 f7 0f 85 5b 1a 00 00 0f b7 5d 00 c1 eb 0b 80 e3 01 48 8b 44 24 78 42 0f b6 04 28 <84> c0 4c 8b 74 24 48 0f 85 5e 1a 00 00 88 1a 48 89 6c 24 28 0f b7 RSP: 0000:ffffc90000006748 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888023abda00 RDX: ffffc90000006855 RSI: ffffffff8e1a1360 RDI: 0000000000000002 RBP: ffffffff90acd06a R08: 0000000000000003 R09: ffffffff8140f6b2 R10: 0000000000000002 R11: ffff888023abda00 R12: ffffffff9010bbbc R13: dffffc0000000000 R14: 1ffff92000000d04 R15: 1ffff92000000d04 FS: 000055557144e500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3181eff8 CR3: 000000006a202000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2196 [inline] slab_free mm/slub.c:4437 [inline] kfree+0x149/0x360 mm/slub.c:4558 dummy_timer+0x7ce/0x45d0 drivers/usb/gadget/udc/dummy_hcd.c:1981 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:srso_alias_safe_ret+0x0/0x7 arch/x86/lib/retpoline.S:171 Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <48> 8d 64 24 08 c3 cc e8 f4 ff ff ff 0f 0b cc cc cc cc cc cc cc cc RSP: 0000:ffffc900000072f8 EFLAGS: 00000213 RAX: 0000000000000102 RBX: ffffc90004750000 RCX: 0000000000000102 RDX: 0000000000000102 RSI: ffffc9000474efd0 RDI: 0000000000000001 RBP: ffffc900000073e0 R08: ffffffff81410de5 R09: ffffffff8141095f R10: 0000000000000003 R11: ffff888023abda00 R12: ffffc9000474efd8 R13: dffffc0000000000 R14: ffffc90004748000 R15: ffffc9000474efe0 srso_alias_return_thunk+0x5/0xfbef5 arch/x86/lib/retpoline.S:181 unwind_next_frame+0x1e65/0x2a00 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3941 [inline] slab_alloc_node mm/slub.c:4001 [inline] kmem_cache_alloc_node_noprof+0x16b/0x320 mm/slub.c:4044 kmalloc_reserve+0xa8/0x2a0 net/core/skbuff.c:575 __alloc_skb+0x1f3/0x440 net/core/skbuff.c:666 __netdev_alloc_skb+0x105/0x560 net/core/skbuff.c:730 netdev_alloc_skb include/linux/skbuff.h:3319 [inline] dev_alloc_skb include/linux/skbuff.h:3332 [inline] __ieee80211_beacon_get+0x998/0x15c0 net/mac80211/tx.c:5471 ieee80211_beacon_get_tim+0xb4/0x320 net/mac80211/tx.c:5593 ieee80211_beacon_get include/net/mac80211.h:5562 [inline] mac80211_hwsim_beacon_tx+0x39d/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2302 __iterate_interfaces+0x225/0x4c0 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0xd8/0x170 net/mac80211/util.c:808 mac80211_hwsim_beacon+0xd4/0x1f0 drivers/net/wireless/virtual/mac80211_hwsim.c:2336 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1751 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1768 handle_softirqs+0x2c6/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_schedule_irq+0xf6/0x1c0 kernel/sched/core.c:7067 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 95 7a d6 f5 e8 50 6a 0e f6 fb bf 01 00 00 00 95 ad ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 35 b4 6c f6 48 RSP: 0000:ffffc9000474ef00 EFLAGS: 00000286 RAX: 7b8984f58de45e00 RBX: 1ffff920008e9de8 RCX: ffffffff8172d80a RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffffc9000474efc0 R08: ffffffff92fa75af R09: 1ffffffff25f4eb5 R10: dffffc0000000000 R11: fffffbfff25f4eb6 R12: 1ffff920008e9de0 R13: 1ffff920008e9de4 R14: ffffc9000474ef20 R15: dffffc0000000000 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:unwind_next_frame+0x1e84/0x2a00 Code: 00 bf 01 00 00 00 e8 fb 8c 24 00 65 8b 1d 6c c6 c2 7e 31 ff 89 de e8 6b 1b 55 00 85 db 0f 84 9d 02 00 00 e8 1e 17 55 00 b0 01 1d fd ff ff 80 3d ac ae 56 0e 01 0f 85 c8 04 00 00 e8 05 17 55 RSP: 0000:ffffc9000474f088 EFLAGS: 00000293 RAX: ffffffff81410e01 RBX: 0000000080000000 RCX: ffff888023abda00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000474f160 R08: ffffffff81410e65 R09: ffffffff8141095f R10: 0000000000000003 R11: ffff888023abda00 R12: ffffc9000474f420 R13: dffffc0000000000 R14: ffffc90004748000 R15: ffffc9000474f428 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x75/0x3f0 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1088 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2583 __slab_free+0x31b/0x3d0 mm/slub.c:4348 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9e/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:322 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3941 [inline] slab_alloc_node mm/slub.c:4001 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4008 new_handle fs/jbd2/transaction.c:476 [inline] jbd2__journal_start+0x14d/0x5d0 fs/jbd2/transaction.c:503 __ext4_journal_start_sb+0x239/0x600 fs/ext4/ext4_jbd2.c:112 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline] ext4_dirty_inode+0x92/0x110 fs/ext4/inode.c:5932 __mark_inode_dirty+0x327/0xe20 fs/fs-writeback.c:2486 generic_update_time fs/inode.c:1907 [inline] inode_update_time fs/inode.c:1920 [inline] __file_update_time fs/inode.c:2109 [inline] file_update_time+0x3a1/0x3e0 fs/inode.c:2139 ext4_page_mkwrite+0x207/0xdf0 fs/ext4/inode.c:6053 do_page_mkwrite+0x19d/0x480 mm/memory.c:3093 do_shared_fault mm/memory.c:4992 [inline] do_fault mm/memory.c:5054 [inline] do_pte_missing mm/memory.c:3897 [inline] handle_pte_fault+0x1290/0x7090 mm/memory.c:5380 __handle_mm_fault mm/memory.c:5523 [inline] handle_mm_fault+0x10df/0x1ba0 mm/memory.c:5688 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f8b7ea55419 Code: 89 0c 24 e8 d9 c2 fe ff 48 8b 43 38 44 8b 44 24 08 83 43 28 08 4c 8b 0c 24 48 8d 48 f8 0f b6 54 24 10 41 83 c0 01 48 89 4b 38 <48> 89 68 f8 e9 00 ff ff ff 66 0f 1f 44 00 00 4c 89 e5 e9 b8 fe ff RSP: 002b:00007fff68e1b600 EFLAGS: 00010202 RAX: 0000001b3181f000 RBX: 00007f8b7f835720 RCX: 0000001b3181eff8 RDX: 0000000000000001 RSI: 0000000000000008 RDI: 00007f8b7f835720 RBP: ffffffff8161eecc R08: 0000000000000119 R09: 0000000000000008 R10: 000000008161eecc R11: 000000008161eed0 R12: ffffffff8161e062 R13: 00007f8b7ed04038 R14: 0000000000000f1e R15: 00007f8b7e201000 sched: RT throttling activated