syzbot


general protection fault in __perf_event_task_sched_in

Status: closed as invalid on 2018/09/05 12:51
Subsystems: perf
[Documentation on labels]
First crash: 2400d, last: 2400d

Sample crash report:
general protection fault: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 17036 Comm: syz-executor0 Not tainted 4.17.0+ #18
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__get_cpu_context kernel/events/core.c:149 [inline]
RIP: 0010:perf_event_context_sched_in kernel/events/core.c:3410 [inline]
RIP: 0010:__perf_event_task_sched_in+0x27d/0xa40 kernel/events/core.c:3472
RSP: 0018:ffff88010fa3f040 EFLAGS: 00010046
RAX: ffff8801132a3800 RBX: ffff88010ce157c0 RCX: ffff8801132b5800
RDX: ffff8801132b5800 RSI: aaaaaaaaaaaab000 RDI: 00010102464c45bf
RBP: ffff88010fa3f110 R08: 0000000001080020 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffff813553c0 R12: ffff8801132ad800
R13: 0000000000000000 R14: 0000000000000818 R15: 0000000000000000
FS:  00007f58209ed700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000625208 CR3: 0000000142d0e000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 perf_event_task_sched_in+0x257/0x2b0 include/linux/perf_event.h:1086
 finish_task_switch+0xbe/0x270 kernel/sched/core.c:2723
 context_switch kernel/sched/core.c:2883 [inline]
 __schedule+0x66b/0x770 kernel/sched/core.c:3524
 preempt_schedule_common kernel/sched/core.c:3648 [inline]
 _cond_resched+0x5e/0xd0 kernel/sched/core.c:4999
 zap_pmd_range mm/memory.c:1444 [inline]
 zap_pud_range mm/memory.c:1471 [inline]
 zap_p4d_range mm/memory.c:1492 [inline]
 unmap_page_range+0x35e0/0x3be0 mm/memory.c:1513
 unmap_single_vma+0x445/0x5e0 mm/memory.c:1558
 unmap_vmas+0x1f4/0x360 mm/memory.c:1588
 exit_mmap+0x4d7/0x980 mm/mmap.c:3105
 __mmput+0x158/0x600 kernel/fork.c:962
 mmput+0xab/0xf0 kernel/fork.c:983
 exit_mm+0x6ed/0x7a0 kernel/exit.c:545
 do_exit+0xc12/0x3930 kernel/exit.c:854
 do_group_exit+0x1a0/0x360 kernel/exit.c:970
 get_signal+0x1405/0x1ec0 kernel/signal.c:2482
 do_signal+0xb8/0x1d20 arch/x86/kernel/signal.c:810
 exit_to_usermode_loop arch/x86/entry/common.c:162 [inline]
 prepare_exit_to_usermode+0x271/0x3a0 arch/x86/entry/common.c:196
 syscall_return_slowpath+0xe9/0x710 arch/x86/entry/common.c:265
 do_syscall_64+0x1ad/0x230 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x455ab9
RSP: 002b:00007f58209ecce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000072bec0 RCX: 0000000000455ab9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000072bec0
RBP: 000000000072bec0 R08: 0000000000000000 R09: 000000000072bea0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000a3e81f R14: 00007f58209ed9c0 R15: 0000000000000000
Code: 4d 85 ff 0f 85 c0 01 00 00 49 8b 04 24 48 89 45 c8 4c 89 e7 e8 e5 b6 38 00 48 8b 7d c8 48 83 c7 40 48 83 38 00 0f 85 ab 01 00 00 <48> 8b 07 48 89 45 c8 e8 c7 b6 38 00 48 83 38 00 0f 85 a9 01 00 
RIP: __get_cpu_context kernel/events/core.c:149 [inline] RSP: ffff88010fa3f040
RIP: perf_event_context_sched_in kernel/events/core.c:3410 [inline] RSP: ffff88010fa3f040
RIP: __perf_event_task_sched_in+0x27d/0xa40 kernel/events/core.c:3472 RSP: ffff88010fa3f040
---[ end trace a306b55f6331747b ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/04 16:10 https://github.com/google/kmsan.git master accdc89e1dc3 317fc8ea .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.