syzbot


INFO: rcu detected stall in do_wp_page (2)

Status: auto-closed as invalid on 2020/04/07 01:35
Subsystems: kernel
[Documentation on labels]
First crash: 1665d, last: 1563d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in do_wp_page syz error 9 1489d 1627d 0/1 auto-obsoleted due to no activity on 2022/08/27 06:40
upstream INFO: rcu detected stall in do_wp_page (3) kernel 2 1380d 1380d 0/26 auto-closed as invalid on 2020/10/07 00:48
upstream INFO: rcu detected stall in do_wp_page mm 1 1946d 1946d 0/26 auto-closed as invalid on 2019/06/18 17:56
android-49 INFO: rcu detected stall in do_wp_page 1 1624d 1624d 0/3 auto-closed as invalid on 2020/03/07 03:26

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (1 GPs behind) idle=16a/1/0x4000000000000002 softirq=13157/13158 fqs=145 
	(t=10500 jiffies g=6625 q=170)
rcu: rcu_preempt kthread starved for 10207 jiffies! g6625 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29032    10      2 0x80004000
Call Trace:
 context_switch kernel/sched/core.c:3385 [inline]
 __schedule+0x9a0/0xcc0 kernel/sched/core.c:4081
 schedule+0x181/0x210 kernel/sched/core.c:4155
 schedule_timeout+0x14f/0x240 kernel/time/timer.c:1895
 rcu_gp_fqs_loop kernel/rcu/tree.c:1661 [inline]
 rcu_gp_kthread+0xed8/0x1770 kernel/rcu/tree.c:1821
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
NMI backtrace for cpu 0
CPU: 0 PID: 8602 Comm: syz-executor.0 Not tainted 5.5.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fb/0x318 lib/dump_stack.c:118
 nmi_cpu_backtrace+0xaf/0x1a0 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x174/0x290 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x15a/0x220 kernel/rcu/tree_stall.h:254
 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:529 [inline]
 rcu_pending kernel/rcu/tree.c:2827 [inline]
 rcu_sched_clock_irq+0xe25/0x1ad0 kernel/rcu/tree.c:2271
 update_process_times+0x12d/0x180 kernel/time/timer.c:1726
 tick_sched_handle kernel/time/tick-sched.c:167 [inline]
 tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1310
 __run_hrtimer kernel/time/hrtimer.c:1517 [inline]
 __hrtimer_run_queues+0x403/0x840 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x38c/0xda0 kernel/time/hrtimer.c:1641
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
 smp_apic_timer_interrupt+0x109/0x280 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:check_kcov_mode kernel/kcov.c:164 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x22/0x50 kernel/kcov.c:187
Code: 84 f4 3b 00 5b 5d c3 cc 48 8b 04 24 65 48 8b 0c 25 c0 1d 02 00 65 8b 15 38 5f 8b 7e f7 c2 00 01 1f 00 75 2c 8b 91 80 13 00 00 <83> fa 02 75 21 48 8b 91 88 13 00 00 48 8b 32 48 8d 7e 01 8b 89 84
RSP: 0018:ffffc90002297a10 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffffffff814897d3 RBX: 0000000000000000 RCX: ffff8880a7c3c640
RDX: 0000000000000000 RSI: 00000000fffffffc RDI: ffffea0002661a40
RBP: ffffc90002297a38 R08: dffffc0000000000 R09: fffffbfff124248a
R10: fffffbfff124248a R11: 0000000000000000 R12: dffffc0000000000
R13: dffffc0000000000 R14: 00000000fffffffc R15: ffff8880a2af3538
 free_thread_stack+0x168/0x590 kernel/fork.c:280
 release_task_stack kernel/fork.c:440 [inline]
 put_task_stack+0xa3/0x130 kernel/fork.c:451
 finish_task_switch+0x3f1/0x550 kernel/sched/core.c:3256
 context_switch kernel/sched/core.c:3388 [inline]
 __schedule+0x9a8/0xcc0 kernel/sched/core.c:4081
 preempt_schedule_common kernel/sched/core.c:4236 [inline]
 preempt_schedule+0xdb/0x120 kernel/sched/core.c:4261
 ___preempt_schedule+0x16/0x18 arch/x86/entry/thunk_64.S:50
 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock+0x3a/0x40 kernel/locking/spinlock.c:183
 spin_unlock include/linux/spinlock.h:378 [inline]
 do_wp_page+0x27e/0x16d0 mm/memory.c:2775
 handle_pte_fault mm/memory.c:4013 [inline]
 __handle_mm_fault mm/memory.c:4127 [inline]
 handle_mm_fault+0x23c5/0x2890 mm/memory.c:4164
 do_user_addr_fault+0x589/0xaf0 arch/x86/mm/fault.c:1441
 __do_page_fault+0xd3/0x1f0 arch/x86/mm/fault.c:1506
 do_page_fault+0x99/0xb0 arch/x86/mm/fault.c:1530
 page_fault+0x39/0x40 arch/x86/entry/entry_64.S:1203
RIP: 0033:0x40d948
Code: d9 48 8b 47 78 48 83 f8 ff 0f 84 0b 01 00 00 48 8b 73 18 48 83 fe ff 74 29 48 81 fe e7 03 00 00 0f 87 67 01 00 00 48 c1 e6 04 <c6> 86 80 80 75 00 01 48 89 86 88 80 75 00 66 2e 0f 1f 84 00 00 00
RSP: 002b:00007fff69075b60 EFLAGS: 00010246
RAX: 0000000000000003 RBX: 000000000075bf20 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000000 RDI: 000000000075bf20
RBP: 000000000000002d R08: ffffffffffffffff R09: ffffffffffffffff
R10: 00007fff69075c60 R11: 0000000000000246 R12: 000000000075bf20
R13: 00000000000111bb R14: 00000000000111e8 R15: 000000000075bf2c

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/08 01:28 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 19:15 upstream 76bb8b05960c ae13a849 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 17:40 upstream 76bb8b05960c ae13a849 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 15:54 upstream 76bb8b05960c ab342da3 .config console log report ci-upstream-kasan-gce-smack-root
2019/11/06 07:53 upstream 26bc67213424 bc2c6e45 .config console log report ci-upstream-kasan-gce-root
2019/10/23 02:05 upstream 3b7c59a1950c 5681358a .config console log report ci-upstream-kasan-gce-selinux-root
2019/10/22 06:18 upstream 7d194c2100ad c59a7cd8 .config console log report ci-upstream-kasan-gce-smack-root
2019/09/28 04:16 upstream 8f744bdee4fe d8074e0b .config console log report ci-upstream-kasan-gce-selinux-root
2019/10/09 01:58 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 b1ebbfef .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.