rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P19412/1:b..l rcu: (detected by 1, t=10503 jiffies, g=176697, q=931563 ncpus=2) task:syz.3.2590 state:R running task stack:24184 pid:19412 tgid:19410 ppid:19243 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7004 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:unwind_next_frame+0x5/0x22d0 arch/x86/kernel/unwind_orc.c:469 Code: 80 e1 07 80 c1 03 38 c1 7c 91 4c 89 f7 e8 43 46 bd 00 eb 87 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <41> 57 41 56 41 55 41 54 53 48 81 ec 98 00 00 00 49 89 fd 49 bc 00 RSP: 0018:ffffc90003be6ed0 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90003be6ee0 RCX: ffffffff917bc000 RDX: dffffc0000000000 RSI: ffffffff89db9845 RDI: ffffc90003be6ee0 RBP: ffffc90003be6f70 R08: 000000000000000e R09: ffffc90003be6fd0 R10: ffffc90003be6f30 R11: ffffffff8180a0e0 R12: ffff888025c75a00 R13: ffffffff8180a0e0 R14: ffffc90003be6fc0 R15: 0000000000000000 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/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] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_node_track_caller_noprof+0x1cd/0x440 mm/slub.c:4283 kstrdup+0x3a/0x80 mm/util.c:64 htable_create+0x33a/0x880 net/netfilter/xt_hashlimit.c:323 hashlimit_mt_check_common+0x710/0xa40 net/netfilter/xt_hashlimit.c:898 xt_check_match+0x368/0xa40 net/netfilter/x_tables.c:523 check_match net/ipv6/netfilter/ip6_tables.c:488 [inline] find_check_match net/ipv6/netfilter/ip6_tables.c:505 [inline] find_check_entry net/ipv6/netfilter/ip6_tables.c:556 [inline] translate_table+0x1671/0x2330 net/ipv6/netfilter/ip6_tables.c:733 do_replace net/ipv6/netfilter/ip6_tables.c:1154 [inline] do_ip6t_set_ctl+0xe4c/0x1270 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x295/0x2c0 net/netfilter/nf_sockopt.c:101 rawv6_setsockopt+0x327/0x740 net/ipv6/raw.c:1054 do_sock_setsockopt+0x3af/0x720 net/socket.c:2334 __sys_setsockopt+0x1a2/0x250 net/socket.c:2357 __do_sys_setsockopt net/socket.c:2366 [inline] __se_sys_setsockopt net/socket.c:2363 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2363 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:0x7f7ddc37dff9 RSP: 002b:00007f7ddc1f9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f7ddc535f80 RCX: 00007f7ddc37dff9 RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007f7ddc3f0296 R08: 0000000000000488 R09: 0000000000000000 R10: 0000000020000b00 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7ddc535f80 R15: 00007f7ddc65fa28 rcu: rcu_preempt kthread starved for 2731 jiffies! g176697 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:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 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-rc3-syzkaller-00389-g3d5ad2d4eca3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker RIP: 0010:__bfs kernel/locking/lockdep.c:1811 [inline] RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1856 [inline] RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2827 [inline] RIP: 0010:check_prev_add kernel/locking/lockdep.c:3165 [inline] RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3280 [inline] RIP: 0010:validate_chain+0x1fc2/0x5920 kernel/locking/lockdep.c:3904 Code: 80 3c 20 00 74 08 4c 89 f7 e8 ea 7e 8d 00 48 09 9c 24 98 00 00 00 4d 8b 3e 4d 39 f7 0f 84 6e fc ff ff 41 b4 01 eb 0c 4d 8b 3f <4d> 39 f7 0f 84 5d fc ff ff 49 8d 5f 30 48 89 d8 48 c1 e8 03 48 b9 RSP: 0018:ffffc900000d6bc0 EFLAGS: 00000046 RAX: 1ffffffff2d77d35 RBX: ffffffff96bbe9d8 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff93c495b0 RBP: ffffc900000d6ec0 R08: ffffffff942c9807 R09: 1ffffffff2859300 R10: dffffc0000000000 R11: fffffbfff2859301 R12: 0000000000000000 R13: ffffffff96bc1488 R14: ffffffff93c49580 R15: ffffffff96bc32b8 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa703e00210 CR3: 000000002dcba000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 seqcount_lockdep_reader_access+0xed/0x1e0 include/linux/seqlock.h:72 read_seqbegin include/linux/seqlock.h:757 [inline] zone_span_seqbegin include/linux/memory_hotplug.h:103 [inline] page_outside_zone_boundaries mm/page_alloc.c:437 [inline] bad_range+0x5f/0x270 mm/page_alloc.c:456 __free_one_page+0x182/0x870 mm/page_alloc.c:782 free_pcppages_bulk+0x3d3/0x5e0 mm/page_alloc.c:1201 free_unref_page_commit+0x582/0x1140 mm/page_alloc.c:2613 free_unref_page+0x6a2/0xf20 mm/page_alloc.c:2661 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] __kmalloc_cache_noprof+0x132/0x2c0 mm/slub.c:4290 kmalloc_noprof include/linux/slab.h:878 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] keypair_create drivers/net/wireguard/noise.c:100 [inline] wg_noise_handshake_begin_session+0xc4/0xb80 drivers/net/wireguard/noise.c:827 wg_packet_send_handshake_response+0x120/0x2e0 drivers/net/wireguard/send.c:96 wg_receive_handshake_packet drivers/net/wireguard/receive.c:154 [inline] wg_packet_handshake_receive_worker+0x5e6/0xf50 drivers/net/wireguard/receive.c:213 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 net_ratelimit: 21 callbacks suppressed IPVS: ovf: UDP 224.0.0.2:0 - no destination available IPVS: ovf: UDP 224.0.0.2:0 - no destination available IPVS: ovf: UDP 224.0.0.2:0 - no destination available IPVS: ovf: UDP 224.0.0.2:0 - no destination available IPVS: ovf: UDP 224.0.0.2:0 - no destination available IPVS: ovf: UDP 224.0.0.2:0 - no destination available IPVS: ovf: UDP 224.0.0.2:0 - no destination available IPVS: ovf: UDP 224.0.0.2:0 - no destination available