rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (650 ticks this GP) idle=b714/1/0x4000000000000000 softirq=9672/9672 fqs=0 (t=10501 jiffies g=8813 q=865 ncpus=2) rcu: rcu_preempt kthread starved for 10502 jiffies! g8813 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: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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4360 Comm: syz.2.9 Not tainted 6.1.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline] RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:206 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 1f a4 34 03 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc900001df3e0 EFLAGS: 00000046 RAX: 00000000000000a1 RBX: ffffffff8cda7b30 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 00000000000000a1 RDI: 0000000000000838 RBP: 00000000000000a1 R08: ffffffff817ce0dd R09: fffffbfff1d36536 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8f271c0 R13: dffffc0000000000 R14: 00000000000000a1 R15: dffffc0000000000 FS: 00007f2d7df7f6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d91eff8 CR3: 0000000029342000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:394 [inline] lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:478 clockevents_program_event+0x1c5/0x310 kernel/time/clockevents.c:334 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1828 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x4d/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:stackdepot_memcmp lib/stackdepot.c:290 [inline] RIP: 0010:find_stack lib/stackdepot.c:306 [inline] RIP: 0010:__stack_depot_save+0x17a/0x470 lib/stackdepot.c:452 Code: 44 21 eb 48 89 44 24 10 4c 8b 34 d8 4c 89 c5 41 89 ec eb 03 4d 8b 36 4d 85 f6 74 2a 45 39 6e 08 75 f2 41 39 6e 0c 75 ec 31 c0 <49> 8b 0c c7 49 3b 4c c6 18 75 df 48 ff c0 41 39 c4 75 ed 4d 85 f6 RSP: 0018:ffffc900001df648 EFLAGS: 00000206 RAX: 000000000000000a RBX: 00000000000bcea2 RCX: ffffffff88a70331 RDX: ffffc900001df77c RSI: 0000000000000003 RDI: 0000000000000800 RBP: 000000000000001b R08: 000000000000001b R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000001b R13: 00000000bacbcea2 R14: ffff8880214cd4a0 R15: ffffc900001df6b0 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x60/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] __kmem_cache_free+0x25c/0x3c0 mm/slub.c:3674 skb_free_head net/core/skbuff.c:762 [inline] skb_release_data+0x5de/0x7a0 net/core/skbuff.c:791 skb_release_all net/core/skbuff.c:856 [inline] __kfree_skb net/core/skbuff.c:870 [inline] consume_skb+0xa3/0x140 net/core/skbuff.c:1035 __dev_kfree_skb_any+0x159/0x180 net/core/dev.c:3179 free_old_xmit_skbs+0x122/0x2c0 drivers/net/virtio_net.c:1609 start_xmit+0x17f/0x1740 drivers/net/virtio_net.c:1871 __netdev_start_xmit include/linux/netdevice.h:4888 [inline] netdev_start_xmit include/linux/netdevice.h:4902 [inline] xmit_one net/core/dev.c:3627 [inline] dev_hard_start_xmit+0x261/0x8c0 net/core/dev.c:3643 sch_direct_xmit+0x2b2/0x5e0 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3864 [inline] __dev_queue_xmit+0x1a7a/0x3d50 net/core/dev.c:4269 NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302 arp_process+0x139b/0x1ea0 net/ipv4/arp.c:851 NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302 __netif_receive_skb_list_ptype net/core/dev.c:5586 [inline] __netif_receive_skb_list_core+0x818/0x890 net/core/dev.c:5629 __netif_receive_skb_list net/core/dev.c:5681 [inline] netif_receive_skb_list_internal+0xa0d/0xe20 net/core/dev.c:5772 gro_normal_list include/net/gro.h:433 [inline] gro_normal_one include/net/gro.h:446 [inline] napi_skb_finish net/core/gro.c:628 [inline] napi_gro_receive+0x4be/0xb60 net/core/gro.c:658 receive_buf+0x2571/0x5640 drivers/net/virtio_net.c:1297 virtnet_receive drivers/net/virtio_net.c:1562 [inline] virtnet_poll+0x6d5/0x1450 drivers/net/virtio_net.c:1680 __napi_poll+0xc7/0x470 net/core/dev.c:6547 napi_poll net/core/dev.c:6614 [inline] net_rx_action+0x70f/0xeb0 net/core/dev.c:6728 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:661 irq_exit_rcu+0x5/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6870 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 19 0b a3 f6 e8 24 da d5 f6 fb bf 01 00 00 00 79 b4 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 e9 ac 26 f7 48 RSP: 0018:ffffc9000495f9c0 EFLAGS: 00000282 RAX: 78616ba328cc2500 RBX: 1ffff9200092bf40 RCX: ffffffff97357103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001 RBP: ffffc9000495fa70 R08: ffffffff90165040 R09: ffffffff90165048 R10: ffffffff90165058 R11: ffffffff90165050 R12: 1ffff9200092bf38 R13: 1ffff9200092bf3c R14: ffffc9000495f9e0 R15: dffffc0000000000 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__sanitizer_cov_trace_pc+0x41/0x60 kernel/kcov.c:221 Code: ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 RSP: 0018:ffffc9000495fb30 EFLAGS: 00000246 RAX: ffffffff81eb4da9 RBX: ffffea000096fe00 RCX: ffff888028450000 RDX: ffffc900101e8000 RSI: 00000000000334bb RDI: ffffea000096fe00 RBP: 1ffffd400012dfc6 R08: dffffc0000000000 R09: fffff9400012dfc7 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea000096fe00 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 __reset_page_owner+0x19/0x1a0 mm/page_owner.c:137 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1459 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x12a6/0x15b0 mm/page_alloc.c:3384 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3479 __vunmap+0x873/0xa30 mm/vmalloc.c:2718 map_create+0x97a/0xd20 kernel/bpf/syscall.c:1228 __sys_bpf+0x2d3/0x6c0 kernel/bpf/syscall.c:5007 __do_sys_bpf kernel/bpf/syscall.c:5129 [inline] __se_sys_bpf kernel/bpf/syscall.c:5127 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5127 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:0x7f2d7d18cde9 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:00007f2d7df7f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f2d7d3a6160 RCX: 00007f2d7d18cde9 RDX: 0000000000000048 RSI: 0000400000000200 RDI: 0000000000000000 RBP: 00007f2d7d20e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2d7d3a6160 R15: 00007ffd768231f8 CPU: 0 PID: 4366 Comm: syz.1.11 Not tainted 6.1.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:slab_want_init_on_alloc mm/slab.h:824 [inline] RIP: 0010:slab_alloc_node mm/slub.c:3395 [inline] RIP: 0010:__kmem_cache_alloc_node+0xfb/0x260 mm/slub.c:3437 Code: 4c 89 f8 65 48 0f c7 0f 0f 94 c0 a8 01 74 84 4c 89 7c 24 18 41 8b 44 24 28 0f 0d 0c 03 0f 1f 44 00 00 66 90 49 83 7c 24 48 00 <74> 04 31 c0 eb 18 41 f7 44 24 08 00 08 08 00 74 0b 44 89 f0 c1 e8 RSP: 0018:ffffc90000007668 EFLAGS: 00000246 RAX: 0000000000000100 RBX: ffff888079efd000 RCX: 0000000000034250 RDX: 0000000000034248 RSI: 0000000000000200 RDI: 000000000003e630 RBP: 0000000000000200 R08: 00000000000a2a01 R09: ffff888075fbd640 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888017c41c80 R13: 00000000ffffffff R14: 00000000000a2a20 R15: ffff888079efcc00 FS: 00007fb9437506c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000054fc1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __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 __netdev_alloc_skb+0xfb/0x500 net/core/skbuff.c:579 netdev_alloc_skb include/linux/skbuff.h:3206 [inline] dev_alloc_skb include/linux/skbuff.h:3219 [inline] __ieee80211_beacon_get+0xc7d/0x2110 net/mac80211/tx.c:5260 ieee80211_beacon_get_tim+0xb1/0x5d0 net/mac80211/tx.c:5342 ieee80211_beacon_get include/net/mac80211.h:5249 [inline] mac80211_hwsim_beacon_tx+0x1d2/0xaa0 drivers/net/wireless/mac80211_hwsim.c:2086 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:788 ieee80211_iterate_active_interfaces_atomic+0xd4/0x170 net/mac80211/util.c:824 mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/mac80211_hwsim.c:2142 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1770 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:661 irq_exit_rcu+0x5/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:preempt_schedule_irq+0xfd/0x1c0 kernel/sched/core.c:6871 Code: 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 19 0b a3 f6 e8 24 da d5 f6 fb bf 01 00 00 00 e8 79 b4 ff ff 43 80 7c 3d 00 00 <74> 08 4c 89 f7 e8 e9 ac 26 f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 RSP: 0018:ffffc900049af3e0 EFLAGS: 00000246 RAX: 5a20701950b98300 RBX: ffff888028f78000 RCX: 1ffff92000935e64 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffff888028f795f8 RBP: ffffc900049af4a0 R08: dffffc0000000000 R09: fffffbfff224a04d R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000935e7c R13: 1ffff92000935e80 R14: ffffc900049af400 R15: dffffc0000000000 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:slab_post_alloc_hook+0x56/0x3a0 mm/slab.h:738 Code: 45 89 ce 31 db 45 0f b6 e6 eb 08 48 ff c3 48 39 dd 74 34 49 8b 34 df 48 8b 3c 24 44 89 ea 44 89 e1 e8 ae 88 00 00 49 89 04 df <48> 85 c0 74 dc 45 84 f6 74 d7 48 8b 0c 24 8b 51 1c 48 89 c7 31 f6 RSP: 0018:ffffc900049af568 EFLAGS: 00000282 RAX: ffff888075bcc2b8 RBX: 0000000000000000 RCX: 5a20701950b98300 RDX: ffffc900049af384 RSI: 0000000000000001 RDI: 0000000000000dc0 RBP: 0000000000000001 R08: 0000000000000011 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000000000dc0 R14: 0000000000000001 R15: ffffc900049af5d8 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 kmem_cache_zalloc include/linux/slab.h:689 [inline] __kernfs_new_node+0xd4/0x870 fs/kernfs/dir.c:614 kernfs_new_node+0x136/0x230 fs/kernfs/dir.c:690 __kernfs_create_file+0x45/0x2e0 fs/kernfs/file.c:1049 cgroup_add_file kernel/cgroup/cgroup.c:4205 [inline] cgroup_addrm_files+0xaae/0x1030 kernel/cgroup/cgroup.c:4265 css_populate_dir+0x12d/0x360 kernel/cgroup/cgroup.c:1771 cgroup_apply_control_enable+0x61b/0xae0 kernel/cgroup/cgroup.c:3267 cgroup_mkdir+0xdb8/0x1030 kernel/cgroup/cgroup.c:5769 kernfs_iop_mkdir+0x275/0x400 fs/kernfs/dir.c:1221 vfs_mkdir+0x3b6/0x590 fs/namei.c:4106 do_mkdirat+0x225/0x360 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4146 [inline] __se_sys_mkdirat fs/namei.c:4144 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4144 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:0x7fb94298cde9 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:00007fb943750038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fb942ba6080 RCX: 00007fb94298cde9 RDX: 00000000000001ff RSI: 0000400000000000 RDI: ffffffffffffff9c RBP: 00007fb942a0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb942ba6080 R15: 00007ffe75dd87c8