rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6048/1:b..l P6151/2:b..l P6142/1:b..l rcu: (detected by 1, t=10502 jiffies, g=10569, q=845647 ncpus=2) task:syz.2.276 state:R running task stack:26256 pid:6142 tgid:6138 ppid:5236 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6854 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6878 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1691 [inline] zap_pmd_range mm/memory.c:1739 [inline] zap_pud_range mm/memory.c:1768 [inline] zap_p4d_range mm/memory.c:1789 [inline] unmap_page_range+0x36b1/0x40e0 mm/memory.c:1810 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900 exit_mmap+0x275/0xc40 mm/mmap.c:1864 __mmput+0x115/0x390 kernel/fork.c:1347 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x28e0 kernel/exit.c:926 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x176f/0x1810 kernel/signal.c:2936 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fea27b7dff9 RSP: 002b:00007fea288fa038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 0000000000000038 RBX: 00007fea27d36058 RCX: 00007fea27b7dff9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007fea27bf0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fea27d36058 R15: 00007ffcee9f2a38 task:syz.1.279 state:R running task stack:25080 pid:6151 tgid:6150 ppid:5235 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6675 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6854 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6878 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __local_bh_enable_ip+0x179/0x200 kernel/softirq.c:389 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] __dev_queue_xmit+0x1764/0x3e80 net/core/dev.c:4451 dev_queue_xmit include/linux/netdevice.h:3094 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0xd41/0x1390 net/ipv4/ip_output.c:236 ip_local_out net/ipv4/ip_output.c:130 [inline] __ip_queue_xmit+0x118c/0x1b80 net/ipv4/ip_output.c:536 __tcp_transmit_skb+0x2544/0x3b30 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] tcp_connect+0x1b7b/0x4940 net/ipv4/tcp_output.c:4146 tcp_v4_connect+0x1127/0x1ba0 net/ipv4/tcp_ipv4.c:341 __inet_stream_connect+0x262/0xf30 net/ipv4/af_inet.c:679 inet_stream_connect+0x65/0xa0 net/ipv4/af_inet.c:750 kernel_connect+0x10b/0x160 net/socket.c:3648 smc_connect+0x72c/0xde0 net/smc/af_smc.c:1679 __sys_connect_file net/socket.c:2067 [inline] __sys_connect+0x2d1/0x300 net/socket.c:2084 __do_sys_connect net/socket.c:2094 [inline] __se_sys_connect net/socket.c:2091 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2091 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:0x7fb83877dff9 RSP: 002b:00007fb83963e038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007fb838935f80 RCX: 00007fb83877dff9 RDX: 0000000000000010 RSI: 0000000020001fc0 RDI: 0000000000000003 RBP: 00007fb8387f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb838935f80 R15: 00007ffc68ab7e58 task:syz.0.239 state:R running task stack:23568 pid:6048 tgid:6046 ppid:5227 flags:0x00004006 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:check_kcov_mode kernel/kcov.c:194 [inline] RIP: 0010:write_comp_data kernel/kcov.c:246 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x35/0x90 kernel/kcov.c:314 Code: 14 25 c0 d7 03 00 65 8b 05 30 1e 6f 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 5b 83 ba 1c 16 00 00 00 74 52 8b 82 f8 15 00 00 <83> f8 03 75 47 48 8b 8a 00 16 00 00 44 8b 8a fc 15 00 00 49 c1 e1 RSP: 0018:ffffc90009567278 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffff8880265e9e00 RDX: ffff8880265e9e00 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8492ae28 R08: ffffffff8492b016 R09: 1ffff1100f776a0c R10: dffffc0000000000 R11: ffffed100f776a0d R12: dffffc0000000000 R13: ffff88807bbb5060 R14: ffff88807bbb5180 R15: 1ffff1100f776a30 rcu_read_unlock include/linux/rcupdate.h:878 [inline] af_alg_wmem_wakeup+0x2a6/0x440 crypto/af_alg.c:852 aead_recvmsg+0x1951/0x19f0 crypto/algif_aead.c:353 sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1052 ____sys_recvmsg+0x3cd/0x480 net/socket.c:2820 ___sys_recvmsg net/socket.c:2864 [inline] do_recvmmsg+0x45e/0xad0 net/socket.c:2958 __sys_recvmmsg net/socket.c:3037 [inline] __do_sys_recvmmsg net/socket.c:3060 [inline] __se_sys_recvmmsg net/socket.c:3053 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3053 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:0x7fbf1b57dff9 RSP: 002b:00007fbf1c2ee038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fbf1b736058 RCX: 00007fbf1b57dff9 RDX: 03ffffffffffff67 RSI: 0000000020002440 RDI: 0000000000000006 RBP: 00007fbf1b5f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fbf1b736058 R15: 00007fffafdd7ad8 rcu: rcu_preempt kthread starved for 10618 jiffies! g10569 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:25816 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.11.0-syzkaller-11503-gc824deb1a897 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_power_efficient neigh_periodic_work RIP: 0010:nf_nat_inet_fn+0xa52/0xd10 net/netfilter/nf_nat_core.c:987 Code: c7 eb 0b e8 a0 d0 ae f7 41 bf 01 00 00 00 49 bd 00 00 00 00 00 fc ff df 48 c7 44 24 60 0e 36 e0 45 4b c7 44 25 00 00 00 00 00 <43> c7 44 25 0d 00 00 00 00 66 43 c7 44 25 11 00 00 43 c6 44 25 13 RSP: 0018:ffffc90000007520 EFLAGS: 00000246 RAX: ffffffff89e5e4a0 RBX: 0000000000000000 RCX: ffff88801bef5a00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000007670 R08: ffffffff89e5e46a R09: ffffffff89e5dd12 R10: 0000000000000005 R11: ffff88801bef5a00 R12: 1ffff92000000eb0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c26cd28 CR3: 000000004d86c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_nat_ipv4_fn net/netfilter/nf_nat_proto.c:645 [inline] nf_nat_ipv4_local_in+0x210/0x770 net/netfilter/nf_nat_proto.c:733 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:5662 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5775 process_backlog+0x662/0x15b0 net/core/dev.c:6107 __napi_poll+0xcb/0x490 net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6962 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 neigh_periodic_work+0xb35/0xd50 net/core/neighbour.c:1019 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