sched: RT throttling activated rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3094/1:b..l P3749/1:b..l P3693/1:b..l P3308/1:b..l (detected by 0, t=10503 jiffies, g=7673, q=157 ncpus=2) task:dhcpcd state:R running task stack:20648 pid:3308 ppid:3307 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:658 RIP: 0010:stack_trace_consume_entry+0x1/0x270 kernel/stacktrace.c:83 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 7b ff ff ff 48 89 df e8 30 c5 69 00 e9 6e ff ff ff e8 06 3f 2e 09 66 0f 1f 44 00 00 55 <41> 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 ba 00 00 00 00 RSP: 0018:ffffc9000343f670 EFLAGS: 00000286 RAX: ffffffff81e23da6 RBX: ffffc9000343f680 RCX: ffffffff8fdb3000 RDX: ffffffff8ff0cd01 RSI: ffffffff81e23da6 RDI: ffffc9000343f760 RBP: ffffc9000343f710 R08: ffffc9000343fb30 R09: ffffc9000343f6d0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802bb89dc0 R13: ffffffff81786c50 R14: ffffc9000343f760 R15: 0000000000000000 arch_stack_walk+0x101/0x140 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1444 [inline] free_pcp_prepare mm/page_alloc.c:1494 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3369 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3464 free_slab mm/slub.c:2031 [inline] discard_slab mm/slub.c:2037 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2586 put_cpu_partial+0x17b/0x250 mm/slub.c:2662 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 ____kasan_kmalloc mm/kasan/common.c:340 [inline] __kasan_kmalloc+0x1f/0xb0 mm/kasan/common.c:383 kmalloc include/linux/slab.h:557 [inline] kzalloc include/linux/slab.h:693 [inline] apparmor_sk_alloc_security+0x73/0x100 security/apparmor/lsm.c:812 security_sk_alloc+0x6d/0xa0 security/security.c:2331 sk_prot_alloc+0xfa/0x200 net/core/sock.c:2050 sk_alloc+0x36/0x350 net/core/sock.c:2100 unix_create1+0xb4/0x7f0 unix_create+0x146/0x1f0 net/unix/af_unix.c:1011 __sock_create+0x488/0x910 net/socket.c:1550 sock_create net/socket.c:1601 [inline] __sys_socketpair+0x2c1/0x700 net/socket.c:1728 __do_sys_socketpair net/socket.c:1781 [inline] __se_sys_socketpair net/socket.c:1778 [inline] __x64_sys_socketpair+0x97/0xb0 net/socket.c:1778 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3f76116c0a RSP: 002b:00007ffe54e8a9d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000035 RAX: ffffffffffffffda RBX: 00005598b8f1ca78 RCX: 00007f3f76116c0a RDX: 0000000000000000 RSI: 0000000000080802 RDI: 0000000000000001 RBP: 00007ffe54eaae48 R08: 00007ffe54e8aa00 R09: 00005598b8f1ca40 R10: 00007ffe54e8aa00 R11: 0000000000000246 R12: 00007ffe54eaae48 R13: 00005598b8f1ca40 R14: 0000000000000000 R15: 00005598b8f1ca74 task:kworker/u4:5 state:R running task stack:24440 pid:3693 ppid:2 flags:0x00004000 Workqueue: phy9 ieee80211_iface_work Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 unwind_next_frame+0x1a55/0x2220 arch/x86/kernel/unwind_orc.c:629 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1444 [inline] free_pcp_prepare mm/page_alloc.c:1494 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3369 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3464 free_slab mm/slub.c:2031 [inline] discard_slab mm/slub.c:2037 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2586 put_cpu_partial+0x17b/0x250 mm/slub.c:2662 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] __kmem_cache_alloc_node+0x137/0x260 mm/slub.c:3437 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc_node_track_caller+0xa0/0x220 mm/slab_common.c:956 kmalloc_reserve net/core/skbuff.c:446 [inline] __alloc_skb+0x135/0x670 net/core/skbuff.c:515 alloc_skb include/linux/skbuff.h:1271 [inline] nlmsg_new include/net/netlink.h:991 [inline] cfg80211_del_sta_sinfo+0x1cf/0x580 net/wireless/nl80211.c:18397 __sta_info_destroy_part2+0x316/0x410 net/mac80211/sta_info.c:1327 __sta_info_destroy net/mac80211/sta_info.c:1346 [inline] sta_info_destroy_addr+0xb0/0xc0 net/mac80211/sta_info.c:1358 ieee80211_rx_mgmt_deauth_ibss net/mac80211/ibss.c:941 [inline] ieee80211_ibss_rx_queued_mgmt+0x759/0x2dd0 net/mac80211/ibss.c:1645 ieee80211_iface_process_skb net/mac80211/iface.c:1653 [inline] ieee80211_iface_work+0x7aa/0xce0 net/mac80211/iface.c:1707 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 task:kworker/u4:9 state:R running task stack:25304 pid:3749 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 3f ac 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900048ff900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200091ff2c RCX: 1ffff9200091fecc RDX: dffffc0000000000 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d7180 RBP: ffffc900048ffa48 R08: dffffc0000000000 R09: fffffbfff223ba45 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200091ff28 R13: dffffc0000000000 R14: ffffc900048ff960 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline] batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:826 [inline] batadv_iv_ogm_schedule+0x43b/0x1090 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0x6fa/0x800 net/batman-adv/bat_iv_ogm.c:1713 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 task:udevd state:R running task stack:23704 pid:3094 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 unwind_next_frame+0x1a55/0x2220 arch/x86/kernel/unwind_orc.c:629 __unwind_start+0x59d/0x720 arch/x86/kernel/unwind_orc.c:717 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:127 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1444 [inline] free_pcp_prepare mm/page_alloc.c:1494 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3369 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3464 free_slab mm/slub.c:2031 [inline] discard_slab mm/slub.c:2037 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2586 put_cpu_partial+0x17b/0x250 mm/slub.c:2662 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1f/0x70 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x52/0x3a0 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x10c/0x2d0 mm/slub.c:3422 getname_flags+0xb8/0x4f0 fs/namei.c:139 getname fs/namei.c:218 [inline] __do_sys_unlink fs/namei.c:4440 [inline] __se_sys_unlink fs/namei.c:4438 [inline] __x64_sys_unlink+0x38/0x50 fs/namei.c:4438 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0b69117da7 RSP: 002b:00007ffe95bd7048 EFLAGS: 00000202 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007f0b69117da7 RDX: fffffffffffffe60 RSI: 00007ffe95bd7120 RDI: 000055f19dd800d8 RBP: 000055f1c75ba1c0 R08: 0000000009e555fb R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000ffffffff R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10337 jiffies! g7673 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=6779 rcu: rcu_preempt kthread starved for 10340 jiffies! g7673 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26712 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 3763 Comm: syz.1.9 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: 51 9b f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 3e 99 b9 f6 48 89 df e8 a6 d6 ba f6 e8 01 62 e0 f6 fb bf 01 00 00 00 46 67 ad f6 65 8b 05 17 5f 51 75 85 c0 74 02 5b c3 e8 c4 82 4f RSP: 0018:ffffc90004997b30 EFLAGS: 00000286 RAX: 5c88b097b284bc00 RBX: ffff888026579bc0 RCX: ffffffff97334103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001 RBP: ffffc90004997c70 R08: dffffc0000000000 R09: ffffed1004caf379 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11004caf3cb R13: 0000000004000000 R14: 0000000000000011 R15: ffff888026579e58 FS: 00007fcd97f2f6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055988cd76600 CR3: 000000001e321000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2873 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fcd9717dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcd97f2f0e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007fcd97335f88 RCX: 00007fcd9717dff9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fcd97335f8c RBP: 00007fcd97335f80 R08: 0000000000000010 R09: 0000000000000000 R10: 000000000000000b R11: 0000000000000246 R12: 00007fcd97335f8c R13: 0000000000000000 R14: 00007ffcbf827db0 R15: 00007ffcbf827e98