syzbot


INFO: rcu detected stall in vms_clean_up_area

Status: auto-obsoleted due to no activity on 2025/01/12 23:23
Subsystems: mm
[Documentation on labels]
First crash: 98d, last: 98d

Sample crash report:
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P6830/1:b..l P6833/1:b..l P6066/1:b..l
rcu: 	(detected by 1, t=10503 jiffies, g=15469, q=1591118 ncpus=2)
task:syz-executor    state:R  running task     stack:20176 pid:6066  tgid:6066  ppid:6051   flags:0x20004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5322 [inline]
 __schedule+0x1895/0x4b30 kernel/sched/core.c:6682
 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6861
 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6885
 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]
 copy_pte_range mm/memory.c:1194 [inline]
 copy_pmd_range+0x7b90/0x85f0 mm/memory.c:1255
 copy_pud_range mm/memory.c:1292 [inline]
 copy_p4d_range mm/memory.c:1316 [inline]
 copy_page_range+0x99f/0xe90 mm/memory.c:1414
 dup_mmap kernel/fork.c:750 [inline]
 dup_mm kernel/fork.c:1674 [inline]
 copy_mm+0x11fb/0x1f40 kernel/fork.c:1723
 copy_process+0x1845/0x3d50 kernel/fork.c:2372
 kernel_clone+0x226/0x8f0 kernel/fork.c:2784
 __do_compat_sys_ia32_clone arch/x86/kernel/sys_ia32.c:254 [inline]
 __se_compat_sys_ia32_clone arch/x86/kernel/sys_ia32.c:240 [inline]
 __ia32_compat_sys_ia32_clone+0x255/0x2a0 arch/x86/kernel/sys_ia32.c:240
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7f36579
RSP: 002b:00000000f751fcdc EFLAGS: 00000206 ORIG_RAX: 0000000000000078
RAX: ffffffffffffffda RBX: 0000000001200011 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000005833f4a8
RBP: 00000000f73bbff4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
task:syz.1.582       state:R  running task     stack:23648 pid:6833  tgid:6832  ppid:6612   flags:0x20000000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5322 [inline]
 __schedule+0x1895/0x4b30 kernel/sched/core.c:6682
 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6861
 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6885
 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
 __local_bh_enable_ip+0x179/0x200 kernel/softirq.c:389
 tun_rx_batched+0x732/0x8f0
 tun_get_user+0x3056/0x47e0 drivers/net/tun.c:2007
 tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053
 new_sync_write fs/read_write.c:590 [inline]
 vfs_write+0xa6d/0xc90 fs/read_write.c:683
 ksys_write+0x183/0x2b0 fs/read_write.c:736
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf73ed579
RSP: 002b:00000000f56d6530 EFLAGS: 00000206 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 00000000000000c8 RCX: 0000000020000100
RDX: 0000000000000042 RSI: 00000000f73dbff4 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
task:sed             state:R  running task     stack:23072 pid:6830  tgid:6830  ppid:6827   flags:0x00000000
Call Trace:
 <TASK>
 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5829
Code: 2b 00 74 08 4c 89 f7 e8 8a 3f 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:ffffc9000304ee40 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000609dd4 RCX: 4c8b619139150600
RDX: dffffc0000000000 RSI: ffffffff8c0adc40 RDI: ffffffff8c60fca0
RBP: ffffc9000304ef88 R08: ffffffff942c8807 R09: 1ffffffff2859100
R10: dffffc0000000000 R11: fffffbfff2859101 R12: 1ffff92000609dd0
R13: dffffc0000000000 R14: ffffc9000304eea0 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_lock+0xc7/0x300 mm/pgtable-generic.c:371
 pte_offset_map_lock include/linux/mm.h:3014 [inline]
 zap_pte_range mm/memory.c:1600 [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+0x9b5/0x40e0 mm/memory.c:1810
 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900
 vms_clear_ptes+0x361/0x530 mm/vma.c:1089
 vms_clean_up_area+0x62/0x1c0 mm/vma.c:1108
 mmap_region+0x1a84/0x2990 mm/mmap.c:1439
 do_mmap+0x8f0/0x1000 mm/mmap.c:496
 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588
 ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:542
 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:0x7f766c25cb74
RSP: 002b:00007ffca7996d78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007ffca7996e28 RCX: 00007f766c25cb74
RDX: 0000000000000003 RSI: 0000000000002000 RDI: 00007f766bf8c000
RBP: 00007ffca7997110 R08: 0000000000000003 R09: 0000000000052000
R10: 0000000000000812 R11: 0000000000000246 R12: 00007f766c23a570
R13: 00007ffca7997198 R14: 0000000000052120 R15: 0000000000000000
 </TASK>
rcu: rcu_preempt kthread starved for 1506 jiffies! g15469 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:24976 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 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
 </TASK>
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-00013-geca631b8fe80 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:unwind_next_frame+0x142/0x22d0 arch/x86/kernel/unwind_orc.c:494
Code: 0f 85 b8 19 00 00 4c 0f be 7d 00 48 8b 44 24 30 42 80 3c 20 00 48 8b 5c 24 18 74 08 48 89 df e8 64 30 bd 00 4c 03 3b 49 ff cf <4c> 89 6c 24 08 4c 89 74 24 68 48 89 2c 24 0f 84 0c 01 00 00 48 c7
RSP: 0018:ffffc900000066d0 EFLAGS: 00000286
RAX: 1ffff92000000cfd RBX: ffffc900000067e8 RCX: ffffffff9a3cf903
RDX: dffffc0000000000 RSI: ffffffff813602fb RDI: 0000000000000001
RBP: ffffc900000067d5 R08: 000000000000001c R09: ffffc90000006890
R10: ffffc900000067f0 R11: ffffffff8180a0e0 R12: dffffc0000000000
R13: ffffc900000067a0 R14: ffffffff813602fb R15: ffffffff813602fa
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000032d1cff8 CR3: 000000000e734000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 unpoison_slab_object mm/kasan/common.c:319 [inline]
 __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345
 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
 dst_alloc+0x12b/0x190 net/core/dst.c:89
 rt_dst_alloc net/ipv4/route.c:1612 [inline]
 __mkroute_output net/ipv4/route.c:2573 [inline]
 ip_route_output_key_hash_rcu+0x13cc/0x2390 net/ipv4/route.c:2795
 ip_route_output_key_hash+0x193/0x2b0 net/ipv4/route.c:2624
 __ip_route_output_key include/net/route.h:141 [inline]
 ip_route_output_flow+0x29/0x140 net/ipv4/route.c:2852
 ip_route_output_key include/net/route.h:151 [inline]
 ip_route_me_harder+0x80d/0x1300 net/ipv4/netfilter.c:53
 synproxy_send_tcp+0x356/0x6c0 net/netfilter/nf_synproxy_core.c:431
 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: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
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline]
 nsim_dev_trap_report_work+0x75d/0xaa0 drivers/net/netdevsim/dev.c:850
 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
 </TASK>
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: sh: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/14 23:20 upstream eca631b8fe80 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in vms_clean_up_area
* Struck through repros no longer work on HEAD.