syzbot


INFO: rcu detected stall in __do_page_fault

Status: auto-closed as invalid on 2019/11/21 04:34
Subsystems: kernel
[Documentation on labels]
First crash: 1730d, last: 1698d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in __do_page_fault (2) kernel 1 1558d 1558d 0/26 auto-closed as invalid on 2020/04/08 20:37

Sample crash report:
rcu: INFO: rcu_sched self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=4fe/1/0x4000000000000002 softirq=42753/42754 fqs=5228 
	(t=10500 jiffies g=71129 q=1046)
NMI backtrace for cpu 0
CPU: 0 PID: 25210 Comm: syz-executor.5 Not tainted 5.2.0+ #71
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+0x16f/0x1f0 /lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x70/0xb2 /lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x22d/0x25c /lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 /arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace /./include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x183/0x1cf /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:2736 [inline]
 rcu_sched_clock_irq.cold+0x491/0x8c0 /kernel/rcu/tree.c:2183
 update_process_times+0x32/0x80 /kernel/time/timer.c:1639
 tick_sched_handle+0xa2/0x190 /kernel/time/tick-sched.c:167
 tick_sched_timer+0x47/0x130 /kernel/time/tick-sched.c:1296
 __run_hrtimer /kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x364/0xd90 /kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x2ea/0x730 /kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt /arch/x86/kernel/apic/apic.c:1068 [inline]
 smp_apic_timer_interrupt+0x10b/0x550 /arch/x86/kernel/apic/apic.c:1093
 apic_timer_interrupt+0xf/0x20 /arch/x86/entry/entry_64.S:828
 </IRQ>
RIP: 0010:__might_sleep+0x15/0x190 /kernel/sched/core.c:6545
Code: 41 d4 5c 00 e9 fd fe ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 56 41 89 d6 41 55 <41> 89 f5 41 54 49 89 fc 53 65 48 8b 1c 25 c0 fd 01 00 48 8d 7b 10
RSP: 0018:ffff88809aa3faf0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90013112000
RDX: 0000000000000000 RSI: 000000000000057a RDI: ffffffff87886360
RBP: ffff88809aa3fb00 R08: ffff88808cb401c0 R09: fffffbfff14a6d51
R10: ffff88808cb40a60 R11: ffff88808cb401c0 R12: 0000000020013080
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88809aa3fc50
 do_user_addr_fault /arch/x86/mm/fault.c:1402 [inline]
 __do_page_fault+0x369/0xdd0 /arch/x86/mm/fault.c:1509
 do_page_fault+0x38/0x536 /arch/x86/mm/fault.c:1533
 page_fault+0x39/0x40 /arch/x86/entry/entry_64.S:1200
RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 /arch/x86/lib/copy_user_64.S:205
Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 1f 00 c3 0f 1f 80 00 00 00 00 0f 1f 00 83 fa 40 0f 82 70 ff ff ff 89 d1 <f3> a4 31 c0 0f 1f 00 c3 66 2e 0f 1f 84 00 00 00 00 00 89 d1 f3 a4
RSP: 0018:ffff88809aa3fc70 EFLAGS: 00010206
RAX: 0000000000000001 RBX: 0000000000001000 RCX: 0000000000001000
RDX: 0000000000001000 RSI: 0000000020013080 RDI: ffff88808dc81000
RBP: ffff88809aa3fca8 R08: ffffed1011b90400 R09: 0000000000000000
R10: ffffed1011b903ff R11: ffff88808dc81fff R12: 0000000020013080
R13: 0000000020014080 R14: ffff88808dc81000 R15: 00007ffffffff000
 copy_from_user /./include/linux/uaccess.h:144 [inline]
 mem_rw.isra.0+0x253/0x4f0 /fs/proc/base.c:841
 mem_write+0x55/0x70 /fs/proc/base.c:880
 __vfs_write+0x8a/0x110 /fs/read_write.c:494
 vfs_write+0x268/0x5d0 /fs/read_write.c:558
 ksys_write+0x14f/0x290 /fs/read_write.c:611
 __do_sys_write /fs/read_write.c:623 [inline]
 __se_sys_write /fs/read_write.c:620 [inline]
 __x64_sys_write+0x73/0xb0 /fs/read_write.c:620
 do_syscall_64+0xfd/0x6a0 /arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459819
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f7133fcbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459819
RDX: 000000002000008f RSI: 0000000020000080 RDI: 0000000000000005
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7133fcc6d4
R13: 00000000004c9492 R14: 00000000004e0660 R15: 00000000ffffffff

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/22 00:19 upstream c6dd78fcb8ee 1656845f .config console log report ci-upstream-kasan-gce-root
2019/08/23 04:25 linux-next b5835edc8dd4 ca6f3cfa .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/21 10:03 linux-next 54c851a8cc73 4ea67ff8 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/03 14:02 linux-next 7b4980e0bcf4 6affd8e8 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.