syzbot


INFO: rcu detected stall in handle_mm_fault

Status: auto-closed as invalid on 2019/10/25 14:11
Subsystems: fs
[Documentation on labels]
First crash: 1710d, last: 1710d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in handle_mm_fault 1 98d 98d 0/3 upstream: reported on 2023/12/21 23:28
linux-5.15 INFO: rcu detected stall in handle_mm_fault (2) origin:upstream C error 1 67d 67d 0/3 upstream: reported C repro on 2024/01/22 00:21
linux-5.15 INFO: rcu detected stall in handle_mm_fault 1 175d 175d 0/3 auto-obsoleted due to no activity on 2024/01/14 02:34

Sample crash report:
rcu: INFO: rcu_sched self-detected stall on CPU
rcu: 	0-....: (10500 ticks this GP) idle=c2e/1/0x4000000000000002 softirq=363318/363318 fqs=5247 
	(t=10502 jiffies g=642505 q=2556)
NMI backtrace for cpu 0
CPU: 0 PID: 22973 Comm: syz-executor.1 Not tainted 5.2.0+ #64
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:__sanitizer_cov_trace_const_cmp8+0xc/0x20 kernel/kcov.c:195
Code: f2 89 fe bf 05 00 00 00 48 89 e5 48 8b 4d 08 e8 ba fe ff ff 5d c3 0f 1f 84 00 00 00 00 00 55 48 89 f2 48 89 fe bf 07 00 00 00 <48> 89 e5 48 8b 4d 08 e8 98 fe ff ff 5d c3 66 0f 1f 44 00 00 55 48
RSP: 0018:ffff8880449f7940 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: 000000008f1f4067 RBX: ffff888093e00988 RCX: ffffc90005f5f000
RDX: 000000008f1f4007 RSI: 0000000000000000 RDI: 0000000000000007
RBP: ffff8880449f7ab0 R08: ffff888095ba02c0 R09: fffffbfff13491e8
R10: fffffbfff13491e7 R11: ffffffff89a48f3b R12: 0000000020049080
R13: ffff8880449f7a88 R14: ffff888090406dc0 R15: 000000008f1f4007
 handle_mm_fault+0x3bb/0xa90 mm/memory.c:4001
 do_user_addr_fault arch/x86/mm/fault.c:1444 [inline]
 __do_page_fault+0x536/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:ffff8880449f7c70 EFLAGS: 00010206
RAX: 0000000000000001 RBX: 0000000000001000 RCX: 0000000000001000
RDX: 0000000000001000 RSI: 0000000020049080 RDI: ffff88808b53f000
RBP: ffff8880449f7ca8 R08: ffffed10116a8000 R09: 0000000000000000
R10: ffffed10116a7fff R11: ffff88808b53ffff R12: 0000000020049080
R13: 000000002004a080 R14: ffff88808b53f000 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:0x459829
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:00007f3904e61c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829
RDX: 000000002000008f RSI: 0000000020000080 RDI: 0000000000000005
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3904e626d4
R13: 00000000004c9492 R14: 00000000004e0660 R15: 00000000ffffffff

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/23 14:42 upstream c6dd78fcb8ee de453f34 .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.