syzbot


INFO: rcu detected stall in sys_mbind

Status: auto-closed as invalid on 2019/10/22 22:44
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 1241d, last: 1210d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_mbind (2) 1 737d 737d 0/23 auto-closed as invalid on 2020/11/09 09:33

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (10906 ticks this GP) idle=466/1/0x4000000000000002 softirq=117782/117784 fqs=5235 
rcu: 	 (t=10500 jiffies g=180169 q=1849)
NMI backtrace for cpu 1
CPU: 1 PID: 11040 Comm: syz-executor.1 Not tainted 5.1.0-rc6+ #85
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+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 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.c:1223
 print_cpu_stall kernel/rcu/tree.c:1360 [inline]
 check_cpu_stall kernel/rcu/tree.c:1434 [inline]
 rcu_pending kernel/rcu/tree.c:3103 [inline]
 rcu_sched_clock_irq.cold+0x500/0xa4a kernel/rcu/tree.c:2544
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x33e/0xde0 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x120/0x570 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x50 kernel/kcov.c:107
Code: 65 8b 15 88 60 91 7e 81 e2 00 01 1f 00 75 2b 8b 90 e0 12 00 00 83 fa 02 75 20 48 8b 88 e8 12 00 00 8b 80 e4 12 00 00 48 8b 11 <48> 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 5d c3 0f 1f 00 65
RSP: 0018:ffff888063a6f268 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: 0000000000000200 RCX: ffffc90008010000
RDX: 000000000003ffff RSI: ffffffff8198a98e RDI: 0000000000000007
RBP: ffff888063a6f268 R08: ffff888044544200 R09: ffffed1025fff58d
R10: ffffed1025fff58c R11: ffff88812fffac67 R12: 0000000000009c00
R13: 7fffffdfa7fbc400 R14: ffff888063a6f6c0 R15: 7fffffdfa7fbc200
 pageblock_pfn_to_page mm/internal.h:157 [inline]
 isolate_freepages mm/compaction.c:1478 [inline]
 compaction_alloc+0x11be/0x22e0 mm/compaction.c:1550
 unmap_and_move mm/migrate.c:1180 [inline]
 migrate_pages+0x484/0x2cd0 mm/migrate.c:1431
 compact_zone+0x1b4f/0x38f0 mm/compaction.c:2181
 compact_zone_order+0x1af/0x2a0 mm/compaction.c:2306
 try_to_compact_pages+0x268/0xaf0 mm/compaction.c:2358
 __alloc_pages_direct_compact+0x154/0x4d0 mm/page_alloc.c:3770
 __alloc_pages_slowpath+0xb14/0x28b0 mm/page_alloc.c:4414
 __alloc_pages_nodemask+0x57e/0x7e0 mm/page_alloc.c:4622
 __alloc_pages include/linux/gfp.h:473 [inline]
 __alloc_pages_node include/linux/gfp.h:486 [inline]
 alloc_pages_vma+0x39a/0x540 mm/mempolicy.c:2088
 new_page+0x2d5/0x3d0 mm/mempolicy.c:1145
 unmap_and_move mm/migrate.c:1180 [inline]
 migrate_pages+0x484/0x2cd0 mm/migrate.c:1431
 do_mbind mm/mempolicy.c:1256 [inline]
 kernel_mbind+0xaf3/0xd90 mm/mempolicy.c:1373
 __do_sys_mbind mm/mempolicy.c:1380 [inline]
 __se_sys_mbind mm/mempolicy.c:1376 [inline]
 __x64_sys_mbind+0xe1/0x1a0 mm/mempolicy.c:1376
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f0d2a9d1c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000ed
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000458da9
RDX: 0000000000000000 RSI: 0000000000c00000 RDI: 0000000020012000
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000010000000002
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0d2a9d26d4
R13: 00000000004c4c5f R14: 00000000004d8798 R15: 00000000ffffffff

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2019/04/25 17:45 upstream f6f3e747454f f46aabc8 .config log report
ci-upstream-kasan-gce-smack-root 2019/04/23 17:58 upstream 085b7755808a 53199d6e .config log report
ci-upstream-kasan-gce-smack-root 2019/04/14 03:52 upstream 4443f8e6ac77 c402d8f1 .config log report
ci-upstream-kasan-gce-smack-root 2019/03/26 05:09 upstream 8c2ffd917477 55684ce1 .config log report