syzbot


general protection fault in msr_event_init

Status: auto-closed as invalid on 2020/10/02 15:58
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+20a5ec9650d57bd7e4f5@syzkaller.appspotmail.com
First crash: 1392d, last: 1392d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 21572 Comm: syz-executor.1 Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:msr_event_init+0x0/0x2a0 arch/x86/events/msr.c:190
Code: d3 fe ff ff e8 61 fb b0 00 e9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 0018:ffffc900055b7c88 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffffff89a951c0 RCX: ffffc9000453c000
RDX: 1ffffffff1352a46 RSI: ffffffff818d21ed RDI: ffff888087181000
RBP: ffff888087181000 R08: 0000000000000001 R09: ffff888065e78d48
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888087181000
R13: ffffffff89a951d0 R14: 0000000000000001 R15: ffffffff89a951c0
FS:  00007f08a466c700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000005166a0 CR3: 00000000a6256000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 perf_try_init_event+0x12a/0x560 kernel/events/core.c:10782
 perf_init_event kernel/events/core.c:10847 [inline]
 perf_event_alloc.part.0+0x1bdb/0x36f0 kernel/events/core.c:11110
 perf_event_alloc kernel/events/core.c:11489 [inline]
 __do_sys_perf_event_open+0x72c/0x2b50 kernel/events/core.c:11605
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cb29
Code: Bad RIP value.
RSP: 002b:00007f08a466bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00000000004fa720 RCX: 000000000045cb29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000842 R14: 00000000004cb34b R15: 00007f08a466c6d4
Modules linked in:
---[ end trace a02120299fa9bcae ]---
RIP: 0010:msr_event_init+0x0/0x2a0 arch/x86/events/msr.c:190
Code: d3 fe ff ff e8 61 fb b0 00 e9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 0018:ffffc900055b7c88 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffffff89a951c0 RCX: ffffc9000453c000
RDX: 1ffffffff1352a46 RSI: ffffffff818d21ed RDI: ffff888087181000
RBP: ffff888087181000 R08: 0000000000000001 R09: ffff888065e78d48
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888087181000
R13: ffffffff89a951d0 R14: 0000000000000001 R15: ffffffff89a951c0
FS:  00007f08a466c700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000768000 CR3: 00000000a6256000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/04 15:57 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.