syzbot


BUG: unable to handle kernel paging request in x86_pmu_event_init

Status: closed as dup on 2020/08/16 01:19
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+c01c3ea720877d228202@syzkaller.appspotmail.com
First crash: 1363d, last: 1363d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
general protection fault in syscall_return_slowpath kernel syz inconclusive done 1 1415d 1501d
Discussions (1)
Title Replies (including bot) Last reply
BUG: unable to handle kernel paging request in x86_pmu_event_init 0 (1) 2020/07/28 05:04

Sample crash report:
BUG: unable to handle page fault for address: ffffffffffffffe8
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 947c067 P4D 947c067 PUD 947e067 PMD 0 
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3889 Comm: systemd-udevd Not tainted 5.8.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:x86_pmu_initialized arch/x86/events/core.c:297 [inline]
RIP: 0010:__x86_pmu_event_init arch/x86/events/core.c:594 [inline]
RIP: 0010:x86_pmu_event_init+0x95/0xac0 arch/x86/events/core.c:2140
Code: e8 30 5a 73 00 48 83 3d d8 cc 8b 08 00 75 1e e8 21 5a 73 00 bd ed ff ff ff e9 2a 07 00 00 e8 12 5a 73 00 48 83 3d ba cc 8b 08 <00> 74 e2 e8 43 7b ff ff 89 c5 31 ff 89 c6 e8 08 5e 73 00 85 ed 74
RSP: 0018:ffffc90001577f10 EFLAGS: 00010097
RAX: 0000000000000286 RBX: 0000000000004100 RCX: 2920ecf39a0bcf00
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffffc90001577f58
RBP: 0000000000000000 R08: ffffffff814dec5e R09: ffffed1012f42c69
R10: ffffed1012f42c69 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90001577f58 R15: ffff8880a1c40080
FS:  00007f1b1fd358c0(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffe8 CR3: 00000000a26b6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
Modules linked in:
CR2: ffffffffffffffe8
---[ end trace b1f79b2301ebd5ee ]---
RIP: 0010:x86_pmu_initialized arch/x86/events/core.c:297 [inline]
RIP: 0010:__x86_pmu_event_init arch/x86/events/core.c:594 [inline]
RIP: 0010:x86_pmu_event_init+0x95/0xac0 arch/x86/events/core.c:2140
Code: e8 30 5a 73 00 48 83 3d d8 cc 8b 08 00 75 1e e8 21 5a 73 00 bd ed ff ff ff e9 2a 07 00 00 e8 12 5a 73 00 48 83 3d ba cc 8b 08 <00> 74 e2 e8 43 7b ff ff 89 c5 31 ff 89 c6 e8 08 5e 73 00 85 ed 74
RSP: 0018:ffffc90001577f10 EFLAGS: 00010097
RAX: 0000000000000286 RBX: 0000000000004100 RCX: 2920ecf39a0bcf00
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffffc90001577f58
RBP: 0000000000000000 R08: ffffffff814dec5e R09: ffffed1012f42c69
R10: ffffed1012f42c69 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90001577f58 R15: ffff8880a1c40080
FS:  00007f1b1fd358c0(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffe8 CR3: 00000000a26b6000 CR4: 00000000001406e0
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/24 04:53 upstream d15be546031c 70c104a1 .config console log report syz C ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.