syzbot


general protection fault in perf_misc_flags

Status: closed as invalid on 2020/10/01 13:54
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+ce179bc99e64377c24bc@syzkaller.appspotmail.com
First crash: 1318d, last: 1304d
Duplicate bugs (6)
duplicates (6):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
general protection fault in pvclock_gtod_notify (2) kvm 10 1304d 1310d 0/26 closed as dup on 2020/09/25 12:16
invalid opcode in map_vdso kernel 1 1312d 1308d 0/26 closed as dup on 2020/09/25 12:17
KASAN: user-memory-access Read in vdso_fault kernel 1 1312d 1307d 0/26 closed as dup on 2020/09/25 12:18
general protection fault in map_vdso_randomized kernel 3 1332d 1341d 0/26 closed as dup on 2020/09/28 05:24
general protection fault in map_vdso kernel 1 1303d 1303d 0/26 closed as dup on 2020/09/28 06:02
BUG: unable to handle kernel NULL pointer dereference in map_vdso kernel 1 1313d 1310d 0/26 closed as dup on 2020/09/25 12:16
Discussions (3)
Title Replies (including bot) Last reply
general protection fault in perf_misc_flags 40 (41) 2020/10/01 11:05
BUG: unable to handle kernel NULL pointer dereference in map_vdso 2 (3) 2020/09/25 12:16
general protection fault in pvclock_gtod_notify (2) 2 (3) 2020/09/25 12:16
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in perf_misc_flags (2) 1 1325d 1325d 0/1 auto-closed as invalid on 2021/01/04 12:29
linux-4.19 general protection fault in perf_misc_flags 1 1468d 1468d 0/1 auto-closed as invalid on 2020/08/14 14:40

Sample crash report:
general protection fault, probably for non-canonical address 0xffff51804f6580e8: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0xfffaac027b2c0740-0xfffaac027b2c0747]
CPU: 1 PID: 23422 Comm: syz-executor.0 Not tainted 5.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:perf_misc_flags+0x125/0x150 arch/x86/events/core.c:2638
Code: e4 48 83 e6 03 41 0f 94 c4 31 ff e8 f5 e9 73 00 bb 02 00 00 00 4c 29 e3 49 81 c6 90 00 00 00 4c 89 f0 48 c1 e8 00 00 00 00 38 <00> 74 08 4c 89 f7 e8 30 b4 b3 00 41 8b 06 83 e0 08 48 c1 e0 0b 48
RSP: 0000:ffffc90008f5f948 EFLAGS: 00010006
RAX: ffffc90008f5ffe8 RBX: 0000000000000002 RCX: ffff8880466f8100
RDX: ffff8880466f8100 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffffc90008f5fa00 R08: ffffffff810117eb R09: fffffbfff16c8099
R10: fffffbfff16c8099 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffc90008f5ffe8 R15: dffffc0000000000
FS:  00007faccfd02700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001590004 CR3: 0000000096cd4000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 perf_prepare_sample+0xea/0x19f0 kernel/events/core.c:7001
 __perf_event_output kernel/events/core.c:7170 [inline]
 perf_event_output_forward+0xa7/0x1c0 kernel/events/core.c:7190
 __perf_event_overflow+0x1b9/0x340 kernel/events/core.c:8845
 perf_swevent_hrtimer+0x43c/0x4d0 kernel/events/core.c:10247
 __run_hrtimer kernel/time/hrtimer.c:1524 [inline]
 __hrtimer_run_queues+0x42d/0x930 kernel/time/hrtimer.c:1588
 hrtimer_interrupt+0x373/0xd60 kernel/time/hrtimer.c:1650
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0xf0/0x260 arch/x86/kernel/apic/apic.c:1097
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline]
 sysvec_apic_timer_interrupt+0xd0/0xf0 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581
RIP: 0033:0x45e179
Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007faccfd01c78 EFLAGS: 0000022e
RAX: 0000000000000003 RBX: 0000000000024cc0 RCX: 000000000045e179
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 000000002001d000
RBP: 000000000118cf90 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffec6537a4f R14: 00007faccfd029c0 R15: 000000000118cf4c
Modules linked in:
---[ end trace c36182d2afd64b5f ]---
RIP: 0010:perf_misc_flags+0x125/0x150 arch/x86/events/core.c:2638
Code: e4 48 83 e6 03 41 0f 94 c4 31 ff e8 f5 e9 73 00 bb 02 00 00 00 4c 29 e3 49 81 c6 90 00 00 00 4c 89 f0 48 c1 e8 00 00 00 00 38 <00> 74 08 4c 89 f7 e8 30 b4 b3 00 41 8b 06 83 e0 08 48 c1 e0 0b 48
RSP: 0000:ffffc90008f5f948 EFLAGS: 00010006
RAX: ffffc90008f5ffe8 RBX: 0000000000000002 RCX: ffff8880466f8100
RDX: ffff8880466f8100 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffffc90008f5fa00 R08: ffffffff810117eb R09: fffffbfff16c8099
R10: fffffbfff16c8099 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffc90008f5ffe8 R15: dffffc0000000000
FS:  00007faccfd02700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001590004 CR3: 0000000096cd4000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/27 05:42 upstream eeddbe6841cd 5dd8aee8 .config console log report info ci-upstream-kasan-gce-smack-root
2020/09/20 01:06 upstream eb5f95f1593f 53ce8104 .config console log report info ci-upstream-kasan-gce-smack-root
2020/09/19 08:31 upstream 92ab97adeefc 53ce8104 .config console log report info ci-upstream-kasan-gce-smack-root
2020/09/17 15:53 upstream 5925fa68fe82 8247808b .config console log report info ci-upstream-kasan-gce-smack-root
2020/09/15 21:19 upstream fc4f28bb3daf 6989d6f6 .config console log report info ci-upstream-kasan-gce-smack-root
2020/09/15 12:05 upstream fc4f28bb3daf 6989d6f6 .config console log report info ci-upstream-kasan-gce-smack-root
2020/09/13 22:57 upstream e4c26faa426c 2d3cdd63 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.