syzbot


INFO: rcu detected stall in do_wp_page (3)

Status: auto-closed as invalid on 2020/10/07 00:48
Subsystems: kernel
[Documentation on labels]
First crash: 1664d, last: 1664d
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 1773d 1910d 0/1 auto-obsoleted due to no activity on 2022/08/27 06:40
upstream INFO: rcu detected stall in do_wp_page mm 1 2230d 2230d 0/28 auto-closed as invalid on 2019/06/18 17:56
upstream INFO: rcu detected stall in do_wp_page (2) kernel 9 1847d 1948d 0/28 auto-closed as invalid on 2020/04/07 01:35
android-49 INFO: rcu detected stall in do_wp_page 1 1908d 1907d 0/3 auto-closed as invalid on 2020/03/07 03:26

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1):
------------[ cut here ]------------
IRQs not enabled as expected
WARNING: CPU: 0 PID: 13441 at kernel/sched/core.c:2698 try_invoke_on_locked_down_task+0x2bf/0x370 kernel/sched/core.c:2698
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 13441 Comm: syz-executor.2 Not tainted 5.8.0-rc3-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+0x18f/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:231
 __warn.cold+0x20/0x45 kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:235
 exc_invalid_op+0x13/0x40 arch/x86/kernel/traps.c:255
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:563
RIP: 0010:try_invoke_on_locked_down_task+0x2bf/0x370 kernel/sched/core.c:2698
Code: ff d4 41 89 c6 e9 18 ff ff ff 80 3d e7 c9 58 09 00 0f 85 6f fe ff ff 48 c7 c7 00 41 4b 88 c6 05 d3 c9 58 09 01 e8 b3 47 f4 ff <0f> 0b e9 55 fe ff ff 4c 89 04 24 4c 89 ee 48 89 ef 41 ff d4 4c 8b
RSP: 0000:ffffc90000007bd8 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 1ffff92000000f7d RCX: 0000000000000000
RDX: ffff888096cea0c0 RSI: ffffffff815d4f87 RDI: fffff52000000f6d
RBP: ffff8880a95e01c0 R08: 0000000000000001 R09: ffff8880ae620fcb
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8160c5c0
R13: ffffc90000007d00 R14: ffff888096cea0c0 R15: ffff8880ae636c00
 rcu_print_task_stall kernel/rcu/tree_stall.h:269 [inline]
 print_other_cpu_stall kernel/rcu/tree_stall.h:477 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:636 [inline]
 rcu_pending kernel/rcu/tree.c:3489 [inline]
 rcu_sched_clock_irq.cold+0x92e/0xccc kernel/rcu/tree.c:2504
 update_process_times+0x25/0x60 kernel/time/timer.c:1726
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:176
 tick_sched_timer+0x108/0x290 kernel/time/tick-sched.c:1320
 __run_hrtimer kernel/time/hrtimer.c:1520 [inline]
 __hrtimer_run_queues+0x1d5/0xfc0 kernel/time/hrtimer.c:1584
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1646
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0x142/0x5e0 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+0xe0/0x120 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596
RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline]
RIP: 0010:smp_call_function_single+0x197/0x4f0 kernel/smp.c:382
Code: 48 8d 74 24 40 48 89 44 24 50 48 8b 44 24 08 48 89 44 24 58 e8 fa f9 ff ff 41 89 c5 eb 07 e8 f0 ff 0a 00 f3 90 44 8b 64 24 48 <31> ff 41 83 e4 01 44 89 e6 e8 5b fc 0a 00 45 85 e4 75 e1 e8 d1 ff
RSP: 0000:ffffc90001b67940 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff9200036cf2c RCX: ffffffff8168b785
RDX: ffff888096cea0c0 RSI: ffffffff8168b770 RDI: 0000000000000005
RBP: ffffc90001b67a20 R08: 0000000000000001 R09: ffff8880ae736dc7
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000011
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000040
 smp_call_function_many_cond+0x1a4/0x990 kernel/smp.c:518
 on_each_cpu_cond_mask+0x50/0x290 kernel/smp.c:766
 __flush_tlb_others arch/x86/include/asm/paravirt.h:74 [inline]
 flush_tlb_others arch/x86/mm/tlb.c:856 [inline]
 flush_tlb_mm_range+0x295/0x4d0 arch/x86/mm/tlb.c:943
 flush_tlb_page arch/x86/include/asm/tlbflush.h:235 [inline]
 ptep_clear_flush+0x12b/0x160 mm/pgtable-generic.c:97
 wp_page_copy+0x919/0x1870 mm/memory.c:2713
 do_wp_page+0x6a1/0x1950 mm/memory.c:2982
 handle_pte_fault mm/memory.c:4243 [inline]
 __handle_mm_fault mm/memory.c:4357 [inline]
 handle_mm_fault+0x2aed/0x43f0 mm/memory.c:4394
 do_user_addr_fault+0x5a2/0xd00 arch/x86/mm/fault.c:1295
 handle_page_fault arch/x86/mm/fault.c:1365 [inline]
 exc_page_fault+0xab/0x170 arch/x86/mm/fault.c:1418
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:565
RIP: 0033:0x410225
Code: Bad RIP value.
RSP: 002b:00007ffe99336d00 EFLAGS: 00010297
RAX: 0000000000000030 RBX: 000000000078bfac RCX: 0000000000000000
RDX: 00000000000000a0 RSI: 00007fdf7e62fdb0 RDI: 000000000078bfa8
RBP: 000000000078bfa0 R08: 0000000000000000 R09: 00007fdf7e630700
R10: 00007fdf7e6309d0 R11: 0000000000000202 R12: 0000000000000064
R13: 0000000000000001 R14: 000000000000092b R15: 000000000078bfac
Shutting down cpus with NMI
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/08 14:31 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce-root
2020/07/09 00:47 linux-next 8903263671cb bc238812 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.