rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11773/1:b..l rcu: (detected by 1, t=10503 jiffies, g=53549, q=1494549 ncpus=2) task:syz.1.1709 state:R running task stack:21304 pid:11773 tgid:11772 ppid:11314 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6997 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5829 Code: 2b 00 74 08 4c 89 f7 e8 aa 46 8e 00 f6 44 24 61 02 0f 85 85 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:ffffc9000306e520 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200060dcb0 RCX: a56fd25bd2599300 RDX: dffffc0000000000 RSI: ffffffff8c0adc40 RDI: ffffffff8c60f860 RBP: ffffc9000306e668 R08: ffffffff942c6807 R09: 1ffffffff2858d00 R10: dffffc0000000000 R11: fffffbfff2858d01 R12: 1ffff9200060dcac R13: dffffc0000000000 R14: ffffc9000306e580 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] __pte_offset_map+0x9e/0x380 mm/pgtable-generic.c:287 pte_offset_map_nolock+0xad/0x1f0 mm/pgtable-generic.c:314 handle_pte_fault+0x1b5/0x6800 mm/memory.c:5737 __handle_mm_fault mm/memory.c:5894 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6062 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0x1b16/0x48d0 mm/gup.c:1485 __get_user_pages_locked mm/gup.c:1751 [inline] __gup_longterm_locked+0xed7/0x17d0 mm/gup.c:2480 gup_fast_fallback+0x2748/0x2b60 mm/gup.c:3382 pin_user_pages_fast+0xcc/0x160 mm/gup.c:3488 iov_iter_extract_user_pages lib/iov_iter.c:1815 [inline] iov_iter_extract_pages+0x3bb/0x5c0 lib/iov_iter.c:1878 extract_user_to_sg lib/scatterlist.c:1126 [inline] extract_iter_to_sg+0xf28/0x29c0 lib/scatterlist.c:1413 hash_sendmsg+0x513/0x1110 crypto/algif_hash.c:119 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:744 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2602 ___sys_sendmsg net/socket.c:2656 [inline] __sys_sendmmsg+0x3ab/0x730 net/socket.c:2742 __do_sys_sendmmsg net/socket.c:2771 [inline] __se_sys_sendmmsg net/socket.c:2768 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2768 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:0x7fae7e77dff9 RSP: 002b:00007fae7f4e5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007fae7e935f80 RCX: 00007fae7e77dff9 RDX: 0000000000000001 RSI: 0000000020003100 RDI: 000000000000000a RBP: 00007fae7e7f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fae7e935f80 R15: 00007ffc29e28968 rcu: rcu_preempt kthread starved for 10499 jiffies! g53549 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:25888 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 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: 8 Comm: kworker/0:0 Not tainted 6.12.0-rc1-syzkaller-00360-g09cf85ef183a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-crypt-wg0 wg_packet_tx_worker RIP: 0010:instrument_atomic_read_write include/linux/instrumented.h:96 [inline] RIP: 0010:atomic_add_negative_release include/linux/atomic/atomic-instrumented.h:1457 [inline] RIP: 0010:__rcuref_put include/linux/rcuref.h:87 [inline] RIP: 0010:rcuref_put+0x183/0x240 include/linux/rcuref.h:150 Code: 13 c5 fe f7 eb 24 e8 0c c5 fe f7 c6 05 1c 83 70 06 01 48 c7 c7 40 14 0e 8d be 52 00 00 00 48 c7 c2 80 14 0e 8d e8 fd 93 da f7 <4c> 89 ff be 04 00 00 00 e8 c0 78 68 f8 31 db f0 41 83 07 ff 41 0f RSP: 0018:ffffc90000007080 EFLAGS: 00000246 RAX: ffffffff899615e0 RBX: 0000000000000001 RCX: ffff88801beeda00 RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000007110 R08: ffffffff899615d7 R09: 1ffffffff2039e25 R10: dffffc0000000000 R11: fffffbfff2039e26 R12: dffffc0000000000 R13: 1ffff92000000e10 R14: ffff8881ecc92640 R15: ffff8881ecc94240 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f06787ead58 CR3: 000000007d8b4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_release+0x1b/0x50 net/core/dst.c:164 refdst_drop include/net/dst.h:263 [inline] skb_dst_drop include/net/dst.h:275 [inline] skb_release_head_state+0x73/0x250 net/core/skbuff.c:1174 skb_release_all net/core/skbuff.c:1188 [inline] __kfree_skb net/core/skbuff.c:1204 [inline] consume_skb+0x60/0xf0 net/core/skbuff.c:1436 nft_synproxy_eval_v4+0x3d2/0x610 net/netfilter/nft_synproxy.c:60 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:5666 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5779 process_backlog+0x662/0x15b0 net/core/dev.c:6111 __napi_poll+0xcb/0x490 net/core/dev.c:6775 napi_poll net/core/dev.c:6844 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6966 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 wg_packet_create_data_done drivers/net/wireguard/send.c:247 [inline] wg_packet_tx_worker+0x160/0x810 drivers/net/wireguard/send.c:276 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