rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5946/1:b..l rcu: (detected by 1, t=10503 jiffies, g=8877, q=3383079 ncpus=2) task:syz-executor state:R running task stack:20016 pid:5946 tgid:5946 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7012 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:__page_table_check_zero+0xf7/0x350 mm/page_table_check.c:153 Code: f6 bf 40 00 00 00 e8 b8 6f 89 ff 45 31 ff 49 c7 c5 e0 4d 44 9a 49 c1 ed 03 eb 0a 4c 03 25 21 df 38 18 49 ff c7 83 7c 24 04 3f <0f> 87 e6 00 00 00 e8 4e 6b 89 ff 4c 89 fd 44 89 f1 48 d3 ed 31 ff RSP: 0018:ffffc900040979b0 EFLAGS: 00000293 RAX: ffffffff820b6f6a RBX: dffffc0000000000 RCX: ffff888025df3c00 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88801b8bd50c RBP: ffff88801b8bd50c R08: ffff88801b8bd50f R09: 1ffff11003717aa1 R10: dffffc0000000000 R11: ffffed1003717aa2 R12: ffff88801b8bd510 R13: 1ffffffff34889bc R14: 0000000000000003 R15: 0000000000000005 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1109 [inline] free_unref_page+0xd0f/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/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:329 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4141 lsm_file_alloc security/security.c:734 [inline] security_file_alloc+0x32/0x310 security/security.c:2855 init_file+0x93/0x1e0 fs/file_table.c:153 alloc_empty_file+0xb8/0x1d0 fs/file_table.c:213 alloc_file fs/file_table.c:326 [inline] alloc_file_pseudo+0x1da/0x290 fs/file_table.c:357 sock_alloc_file+0xb8/0x280 net/socket.c:468 sock_map_fd net/socket.c:493 [inline] __sys_socket+0x1dd/0x3c0 net/socket.c:1725 __do_sys_socket net/socket.c:1730 [inline] __se_sys_socket net/socket.c:1728 [inline] __x64_sys_socket+0x7a/0x90 net/socket.c:1728 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff796d80637 RSP: 002b:00007ff79705f708 EFLAGS: 00000202 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff796d80637 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00007ff79705fdec R08: 00007ff79705f6fc R09: 00007ff79705fb07 R10: 00007ff79705f780 R11: 0000000000000202 R12: 0000000000000032 R13: 0000000000034d95 R14: 0000000000034ca2 R15: 00007ff79705fe40 rcu: rcu_preempt kthread starved for 983 jiffies! g8877 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:24240 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-rc5-syzkaller-00308-g3e5e6c9900c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:preempt_count_sub+0x47/0x170 kernel/sched/core.c:5828 Code: df 42 0f b6 04 30 84 c0 0f 85 d0 00 00 00 83 3d 7e 19 da 18 00 75 22 65 8b 05 fd a7 a0 7e 89 c1 81 e1 ff ff ff 7f 39 d9 7c 27 <81> fb fe 00 00 00 77 07 0f b6 c0 85 c0 74 5f 65 8b 05 db a7 a0 7e RSP: 0018:ffffc900000069a0 EFLAGS: 00000202 RAX: 0000000080000102 RBX: 0000000000000001 RCX: 0000000000000102 RDX: 0000000000000006 RSI: ffffffff8c0adc40 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff901d09af R09: 1ffffffff203a135 R10: dffffc0000000000 R11: fffffbfff203a136 R12: 00000001ec0d6780 R13: 1ffff92000000d50 R14: dffffc0000000000 R15: ffff88813ffface0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0000a00a0 CR3: 0000000076504000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock_sched include/linux/rcupdate.h:964 [inline] pfn_valid include/linux/mmzone.h:2053 [inline] __virt_addr_valid+0x439/0x530 arch/x86/mm/physaddr.c:65 kasan_addr_to_slab+0xd/0x80 mm/kasan/common.c:37 __kasan_record_aux_stack+0x11/0xc0 mm/kasan/generic.c:526 __call_rcu_common kernel/rcu/tree.c:3086 [inline] call_rcu+0x167/0xa70 kernel/rcu/tree.c:3190 slab_free_hook mm/slub.c:2306 [inline] slab_free mm/slub.c:4579 [inline] kmem_cache_free+0x2fc/0x420 mm/slub.c:4681 nf_conntrack_free+0x2fd/0x390 net/netfilter/nf_conntrack_core.c:1735 nf_ct_put include/net/netfilter/nf_conntrack.h:186 [inline] nf_conntrack_in+0xb51/0x1890 net/netfilter/nf_conntrack_core.c:2061 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook+0x2c4/0x450 include/linux/netfilter.h:269 __ip_local_out+0x3d9/0x4e0 net/ipv4/ip_output.c:119 ip_local_out+0x26/0x70 net/ipv4/ip_output.c:128 synproxy_send_client_synack+0x8b8/0xf30 net/netfilter/nf_synproxy_core.c:484 nft_synproxy_eval_v4+0x3ca/0x610 net/netfilter/nft_synproxy.c:59 nft_synproxy_do_eval+0x362/0xa60 net/netfilter/nft_synproxy.c:141 expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline] nft_do_chain+0x4ad/0x1da0 net/netfilter/nf_tables_core.c:288 nft_do_chain_inet+0x418/0x6b0 net/netfilter/nft_chain_filter.c:161 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5670 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5783 process_backlog+0x662/0x15b0 net/core/dev.c:6115 __napi_poll+0xcb/0x490 net/core/dev.c:6779 napi_poll net/core/dev.c:6848 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6970 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 ieee80211_rx_bss_info net/mac80211/ibss.c:1172 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1579 [inline] ieee80211_ibss_rx_queued_mgmt+0x1b14/0x2d70 net/mac80211/ibss.c:1606 ieee80211_iface_process_skb net/mac80211/iface.c:1603 [inline] ieee80211_iface_work+0x8a5/0xf20 net/mac80211/iface.c:1657 cfg80211_wiphy_work+0x2db/0x490 net/wireless/core.c:440 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244