rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P25691/1:b..l.. P25724/1:b..l..
rcu: (detected by 0, t=10503 jiffies, g=113237, q=1050717 ncpus=2)
task:syz.0.5172 state:R running task stack:22824 pid:25724 tgid:25720 ppid:17358 task_flags:0x40054c flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5584 [inline]
__schedule+0x1828/0x58c0 kernel/sched/core.c:7389
preempt_schedule_common+0x7f/0xd0 kernel/sched/core.c:7568
preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12
__raw_spin_unlock include/linux/spinlock_api_smp.h:201 [inline]
_raw_spin_unlock+0x41/0x50 kernel/locking/spinlock.c:213
spin_unlock include/linux/spinlock.h:401 [inline]
zap_pte_range mm/memory.c:2059 [inline]
zap_pmd_range mm/memory.c:2117 [inline]
zap_pud_range mm/memory.c:2145 [inline]
zap_p4d_range mm/memory.c:2166 [inline]
__zap_vma_range+0x3d52/0x4b80 mm/memory.c:2206
unmap_vmas+0x38b/0x550 mm/memory.c:2275
exit_mmap+0x290/0xa40 mm/mmap.c:1315
__mmput+0x118/0x420 kernel/fork.c:1192
exit_mm+0x18e/0x240 kernel/exit.c:586
do_exit+0x6a8/0x2360 kernel/exit.c:967
do_group_exit+0x22d/0x2f0 kernel/exit.c:1123
get_signal+0x136a/0x1430 kernel/signal.c:3113
arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop+0x10e/0x770 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x32c/0x530 arch/x86/entry/syscall_64.c:107
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f81af7a94d9
RSP: 002b:00007f81b07060e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f81afa26098 RCX: 00007f81af7a94d9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f81afa26098
RBP: 00007f81afa26090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f81afa26128 R14: 00007ffc92c8d640 R15: 00007ffc92c8d728
task:syz.5.5165 state:R running task stack:23504 pid:25691 tgid:25690 ppid:25440 task_flags:0x40054c flags:0x00080001
Call Trace:
context_switch kernel/sched/core.c:5584 [inline]
__schedule+0x1828/0x58c0 kernel/sched/core.c:7389
preempt_schedule_common+0x7f/0xd0 kernel/sched/core.c:7568
preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12
__raw_spin_unlock include/linux/spinlock_api_smp.h:201 [inline]
_raw_spin_unlock+0x41/0x50 kernel/locking/spinlock.c:213
spin_unlock include/linux/spinlock.h:401 [inline]
zap_pte_range mm/memory.c:2059 [inline]
zap_pmd_range mm/memory.c:2117 [inline]
zap_pud_range mm/memory.c:2145 [inline]
zap_p4d_range mm/memory.c:2166 [inline]
__zap_vma_range+0x3d52/0x4b80 mm/memory.c:2206
unmap_vmas+0x38b/0x550 mm/memory.c:2275
exit_mmap+0x290/0xa40 mm/mmap.c:1315
__mmput+0x118/0x420 kernel/fork.c:1192
exit_mm+0x18e/0x240 kernel/exit.c:586
do_exit+0x6a8/0x2360 kernel/exit.c:967
do_group_exit+0x22d/0x2f0 kernel/exit.c:1123
get_signal+0x136a/0x1430 kernel/signal.c:3113
arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
exit_to_user_mode_loop+0x10e/0x770 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x32c/0x530 arch/x86/entry/syscall_64.c:107
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fba901a94d9
RSP: 002b:00007fba91024028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 000000000000004c RBX: 00007fba90425fa0 RCX: 00007fba901a94d9
RDX: 0000000000000000 RSI: 0000200000000140 RDI: 0000000000000003
RBP: 00007fba9023804e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fba90426038 R14: 00007fba90425fa0 R15: 00007ffe6acd5208
rcu: rcu_preempt kthread starved for 2928 jiffies! g113237 f0x2 RCU_GP_WAIT_FQS(5) ->state=R ->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:27432 pid:17 tgid:17 ppid:2 task_flags:0x208040 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5584 [inline]
__schedule+0x1828/0x58c0 kernel/sched/core.c:7389
__schedule_loop kernel/sched/core.c:7466 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7481
schedule_timeout+0x152/0x2c0 kernel/time/sleep_timeout.c:99
rcu_gp_fqs_loop+0x30c/0x1230 kernel/rcu/tree.c:2122
rcu_gp_kthread+0x9c/0x340 kernel/rcu/tree.c:2330
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 19318 Comm: kworker/u8:29 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:memset_orig+0x75/0xb0 arch/x86/lib/memset_64.S:92
Code: 89 47 30 48 89 47 38 48 8d 7f 40 75 d8 0f 1f 84 00 00 00 00 00 89 d1 83 e1 38 74 14 c1 e9 03 66 0f 1f 44 00 00 ff c9 48 89 07 <48> 8d 7f 08 75 f5 83 e2 07 74 0a ff ca 88 07 48 8d 7f 01 75 f6 4c
RSP: 0018:ffffc90000a17cb0 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000002920 RCX: 0000000000000002
RDX: 0000000000000020 RSI: 0000000000000000 RDI: ffff8881916c32c8
RBP: ffff8880b8340901 R08: ffffffff8234c7e8 R09: 0000000000000000
R10: ffff8881916c32c0 R11: fffff52000142fc0 R12: 0000000000000001
R13: ffff8881916c32c0 R14: 0000000000000020 R15: ffff88813ff25780
FS: 0000000000000000(0000) GS:ffff888123508000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f87a568f850 CR3: 0000000077f20000 CR4: 00000000003526f0
Call Trace:
slab_post_alloc_hook mm/slub.c:4730 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
__kmalloc_cache_noprof+0x2d4/0x600 mm/slub.c:5676
_kmalloc_noprof include/linux/slab.h:991 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
ref_tracker_alloc+0x221/0x530 lib/ref_tracker.c:270
__netdev_tracker_alloc include/linux/netdevice.h:4556 [inline]
netdev_hold include/linux/netdevice.h:4585 [inline]
dst_init+0xbe/0x470 net/core/dst.c:52
dst_alloc+0x12a/0x170 net/core/dst.c:94
rt_dst_alloc net/ipv4/route.c:1697 [inline]
__mkroute_output net/ipv4/route.c:2702 [inline]
ip_route_output_key_hash_rcu+0x14ac/0x2720 net/ipv4/route.c:2922
ip_route_output_key_hash+0x18d/0x2a0 net/ipv4/route.c:2752
__ip_route_output_key include/net/route.h:175 [inline]
ip_route_output_flow+0x2a/0x150 net/ipv4/route.c:2979
ip_route_output_key include/net/route.h:185 [inline]
ip_route_me_harder+0x762/0xfe0 net/ipv4/netfilter.c:54
synproxy_send_tcp+0x332/0x670 net/netfilter/nf_synproxy_core.c:434
synproxy_send_client_synack+0x89b/0xde0 net/netfilter/nf_synproxy_core.c:487
nft_synproxy_eval_v4+0x362/0x4e0 net/netfilter/nft_synproxy.c:59
nft_synproxy_do_eval+0x389/0x5d0 net/netfilter/nft_synproxy.c:142
expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline]
nft_do_chain+0x48d/0x1b10 net/netfilter/nf_tables_core.c:285
nft_do_chain_ipv4+0x195/0x290 net/netfilter/nft_chain_filter.c:24
nf_hook_entry_hookfn include/linux/netfilter.h:165 [inline]
nf_hook_slow+0xc5/0x220 net/netfilter/core.c:633
nf_hook include/linux/netfilter.h:280 [inline]
NF_HOOK+0x21f/0x3c0 include/linux/netfilter.h:323
NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:325
__netif_receive_skb_one_core net/core/dev.c:6447 [inline]
__netif_receive_skb net/core/dev.c:6560 [inline]
process_backlog+0xa6b/0x18b0 net/core/dev.c:6911
__napi_poll+0xaa/0x330 net/core/dev.c:7997
napi_poll net/core/dev.c:8060 [inline]
net_rx_action+0x61d/0xf50 net/core/dev.c:8217
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:-1 [inline]
RIP: 0010:rcu_is_watching+0x1d/0xb0 kernel/rcu/tree.c:753
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 65 48 ff 05 8f 01 34 13 e8 ea 05 59 0a 89 c3 83 f8 08 73 66 <49> bf 00 00 00 00 00 fc ff df 4c 8d 34 dd d0 e7 97 8e 4c 89 f0 48
RSP: 0018:ffffc9000541ef68 EFLAGS: 00000297
RAX: 0000000000000001 RBX: 0000000000000001 RCX: 8000000000000001
RDX: 0000000000000000 RSI: ffffffff8c8e9860 RDI: ffffffff8c8e9820
RBP: 1ffff92000a83e20 R08: 0000000000000000 R09: 0000000000000000
R10: ffffc9000541f118 R11: ffffffff81b3b320 R12: ffffffff9015a260
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000
trace_lock_acquire include/trace/events/lock.h:23 [inline]
lock_acquire+0x58/0x350 kernel/locking/lockdep.c:5905
rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
class_rcu_constructor include/linux/rcupdate.h:1216 [inline]
unwind_next_frame+0xac/0x2550 arch/x86/kernel/unwind_orc.c:495
arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__do_kmalloc_node mm/slub.c:5531 [inline]
__kmalloc_noprof+0x366/0x710 mm/slub.c:5556
_kmalloc_noprof include/linux/slab.h:995 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
ieee802_11_parse_elems_full+0x14b/0x2a10 net/mac80211/parse.c:1077
ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2586 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1556 [inline]
ieee80211_ibss_rx_queued_mgmt+0x509/0x2c40 net/mac80211/ibss.c:1587
ieee80211_iface_process_skb net/mac80211/iface.c:1808 [inline]
ieee80211_iface_work+0x78a/0x1010 net/mac80211/iface.c:1862
cfg80211_wiphy_work+0x29e/0x420 net/wireless/core.c:609
process_one_work kernel/workqueue.c:3495 [inline]
process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578
worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659
kthread+0x38b/0x480 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245