syzbot


INFO: rcu detected stall in sys_clone (3)

Status: auto-closed as invalid on 2020/10/26 22:48
Subsystems: kernel
[Documentation on labels]
First crash: 1620d, last: 1598d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_clone 1 372d 372d 0/3 auto-obsoleted due to no activity on 2024/03/15 18:08
linux-6.1 INFO: rcu detected stall in sys_clone 3 519d 591d 0/3 auto-obsoleted due to no activity on 2023/10/20 18:18
upstream INFO: rcu detected stall in sys_clone (2) mm 49 1746d 1862d 0/28 auto-closed as invalid on 2020/06/01 05:26
upstream INFO: rcu detected stall in sys_clone (4) kernel 1 1262d 1262d 0/28 auto-closed as invalid on 2021/09/27 17:49
upstream INFO: rcu detected stall in sys_clone (6) kasan mm 1 933d 933d 0/28 auto-closed as invalid on 2022/08/23 03:28
upstream INFO: rcu detected stall in sys_clone kernel 1 1919d 1919d 13/28 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_clone (8) bpf mm C error 176 1d23h 259d 0/28 upstream: reported C repro on 2024/03/29 00:16
linux-4.19 INFO: rcu detected stall in sys_clone 2 1817d 1835d 0/1 auto-closed as invalid on 2020/04/21 05:46
upstream INFO: rcu detected stall in sys_clone (5) kernfs 5 1067d 1166d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sys_clone (7) fs 1 668d 668d 0/28 auto-obsoleted due to no activity on 2023/05/14 17:18
linux-5.15 INFO: rcu detected stall in sys_clone (2) origin:upstream missing-backport C done 10 22d 261d 0/3 upstream: reported C repro on 2024/03/27 00:16
linux-6.1 INFO: rcu detected stall in sys_clone (2) origin:upstream syz 12 1d08h 267d 0/3 upstream: reported syz repro on 2024/03/20 15:17

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (0 ticks this GP) idle=05a/1/0x4000000000000000 softirq=26100/26100 fqs=0 
	(detected by 1, t=10502 jiffies, g=33137, q=48)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7314 Comm: syz-executor.4 Not tainted 5.8.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:match_held_lock+0xd3/0x170 kernel/locking/lockdep.c:4470
Code: 48 8b 04 c5 f0 78 7a 8b 48 85 c0 74 18 66 2e 0f 1f 84 00 00 00 00 00 48 39 48 40 74 0e 48 8b 00 48 85 c0 75 f2 31 db 89 d8 5b <c3> 48 8b 88 a8 00 00 00 48 3b 4e 18 0f 84 41 ff ff ff 48 c7 c1 60
RSP: 0018:ffffc90000007d48 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff8880671aab48 RCX: 0000000080010003
RDX: ffff8880671aa200 RSI: ffffffff894e9460 RDI: ffff8880671aab48
RBP: 0000000000000003 R08: ffffffff81654eeb R09: fffffbfff131a7ee
R10: fffffbfff131a7ee R11: 0000000000000000 R12: ffff8880671aa200
R13: ffffffff894e9460 R14: 00000000ffffffff R15: 0000000000000082
FS:  00000000018b3940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000ca3b72 CR3: 0000000067182000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __lock_is_held kernel/locking/lockdep.c:4733 [inline]
 lock_is_held_type+0x5b/0xe0 kernel/locking/lockdep.c:4996
 lock_is_held include/linux/lockdep.h:425 [inline]
 rcu_read_lock_sched_held+0x2f/0xa0 kernel/rcu/update.c:135
 trace_hrtimer_expire_exit+0x21b/0x2b0 include/trace/events/timer.h:279
 __run_hrtimer kernel/time/hrtimer.c:1523 [inline]
 __hrtimer_run_queues+0x4a7/0x930 kernel/time/hrtimer.c:1584
 hrtimer_interrupt+0x373/0xd60 kernel/time/hrtimer.c:1646
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0xf0/0x260 arch/x86/kernel/apic/apic.c:1097
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 sysvec_apic_timer_interrupt+0xb9/0x130 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:585
RIP: 0010:vm_normal_page+0xed/0x220 mm/memory.c:644
Code: 48 89 de e8 65 d6 d0 ff 49 39 dd 0f 87 8f 00 00 00 e8 17 d4 d0 ff 49 c1 e5 06 48 bb 00 00 00 00 00 ea ff ff 4c 01 eb 48 89 d8 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 49 8d 9f 90 00 00 00
RSP: 0018:ffffc90006d2f950 EFLAGS: 00000286
RAX: ffffea0002898ec0 RBX: ffffea0002898ec0 RCX: ffff8880671aa200
RDX: 0000000000000000 RSI: 000000000021ffff RDI: 00000000000a263b
RBP: dffffc0000000000 R08: ffffffff81a3be1b R09: fffff940005131d1
R10: fffff940005131d1 R11: 0000000000000000 R12: 80000000a263b007
R13: 0000000002898ec0 R14: 80000000a263b000 R15: ffff8880a8b6de70
 copy_one_pte mm/memory.c:799 [inline]
 copy_pte_range mm/memory.c:850 [inline]
 copy_pmd_range mm/memory.c:901 [inline]
 copy_pud_range mm/memory.c:935 [inline]
 copy_p4d_range mm/memory.c:957 [inline]
 copy_page_range+0x135e/0x2980 mm/memory.c:1019
 dup_mmap+0x982/0xd60 kernel/fork.c:609
 dup_mm+0x98/0x320 kernel/fork.c:1371
 copy_mm kernel/fork.c:1427 [inline]
 copy_process+0x1fa5/0x52f0 kernel/fork.c:2098
 _do_fork+0x134/0x650 kernel/fork.c:2443
 __do_sys_clone kernel/fork.c:2599 [inline]
 __se_sys_clone kernel/fork.c:2580 [inline]
 __x64_sys_clone+0x21c/0x260 kernel/fork.c:2580
 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45a99a
Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00
RSP: 002b:00007ffd9e9b3010 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffd9e9b3010 RCX: 000000000045a99a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffd9e9b3050 R08: 0000000000000001 R09: 00000000018b3940
R10: 00000000018b3c10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffd9e9b30a0
rcu: rcu_preempt kthread starved for 10502 jiffies! g33137 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    28896    10      2 0x00004000
Call Trace:
 context_switch kernel/sched/core.c:3458 [inline]
 __schedule+0x851/0xcf0 kernel/sched/core.c:4219

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/28 22:42 upstream 6ba1b005ffc3 cb93dc6a .config console log report ci-upstream-kasan-gce-smack-root
2020/07/06 17:19 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.