general protection fault in perf_misc_flags (2)

5 views
Skip to first unread message

syzbot

unread,
Sep 6, 2020, 8:29:17 AM9/6/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c37da90e Linux 4.19.143
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=152220dd900000
kernel config: https://syzkaller.appspot.com/x/.config?x=d162ec57805c4e4d
dashboard link: https://syzkaller.appspot.com/bug?extid=97db16ce50779888d7a1
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+97db16...@syzkaller.appspotmail.com

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 24016 Comm: syz-executor.3 Not tainted 4.19.143-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:perf_misc_flags+0xe4/0x1a8 arch/x86/events/core.c:2548
Code: 00 48 8d bd 90 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 95 00 00 00 48 8b ad 00 00 00 00 <00> 00 00 00 08 48 89 ee e8 5f 42 68 00 48 85 ed 74 08 e8 c5 40 68
RSP: 0018:ffff8880ae607950 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff810170ba
RDX: 1ffff1100912ef3f RSI: ffffffff810170cb RDI: ffff8880489779f8
RBP: ffff888045608c40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: ffffffff8ad3801b R12: ffffffff8b922540
R13: ffff8880ae607a64 R14: ffff88804e9ba240 R15: ffff8880ae607a60
FS: 00007f877e93a700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000004341d000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 00000000cb5e8b80 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
perf_prepare_sample+0x173/0x1620 kernel/events/core.c:6464
__perf_event_output kernel/events/core.c:6590 [inline]
perf_event_output_forward+0xf3/0x270 kernel/events/core.c:6608
__perf_event_overflow+0x13c/0x370 kernel/events/core.c:7881
perf_swevent_hrtimer+0x272/0x3e0 kernel/events/core.c:9237
__run_hrtimer kernel/time/hrtimer.c:1401 [inline]
__hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1463
hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1521
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1092
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:vcpu_enter_guest arch/x86/kvm/x86.c:7803 [inline]
RIP: 0010:vcpu_run arch/x86/kvm/x86.c:7885 [inline]
RIP: 0010:kvm_arch_vcpu_ioctl_run+0x2615/0x6ec0 arch/x86/kvm/x86.c:8085
Code: 88 48 c1 e8 03 42 80 3c 28 00 0f 85 98 48 00 00 48 83 3d 35 cd c4 07 00 0f 84 af 34 00 00 e8 a2 23 5c 00 fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 51 12 3a 00 65 8b 1d 8a 5f f4 7e 31 ff 89 de e8
RSP: 0018:ffff888048977a10 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: ffff88804a5e45c0 RCX: ffffc9000c1e1000
RDX: 0000000000040000 RSI: ffffffff810d8e2e RDI: ffff88804a5e4e44
RBP: ffff888048977bb0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888045608c6c R15: ffff888045608c40
kvm_vcpu_ioctl+0x493/0xe10 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2822
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45d5b9
Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f877e939c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000011880 RCX: 000000000045d5b9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffecf6cfc4f R14: 00007f877e93a9c0 R15: 000000000118cf4c
Modules linked in:
---[ end trace cf224b6fc79d6c81 ]---
BUG: unable to handle kernel paging request at ffffffff0a109993
RIP: 0010:perf_misc_flags+0xe4/0x1a8 arch/x86/events/core.c:2548
PGD 8c70067
Code: 00 48 8d bd 90 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 95 00 00 00 48 8b ad 00 00 00 00 <00> 00 00 00 08 48 89 ee e8 5f 42 68 00 48 85 ed 74 08 e8 c5 40 68
P4D 8c70067
RSP: 0018:ffff8880ae607950 EFLAGS: 00010046
PUD 0
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff810170ba
Oops: 0002 [#2] PREEMPT SMP KASAN
RDX: 1ffff1100912ef3f RSI: ffffffff810170cb RDI: ffff8880489779f8
CPU: 1 PID: 6499 Comm: syz-executor.3 Tainted: G D 4.19.143-syzkaller #0
RBP: ffff888045608c40 R08: 0000000000000000 R09: 0000000000000000
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
R10: 0000000000000007 R11: ffffffff8ad3801b R12: ffffffff8b922540
RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:267 [inline]
RIP: 0010:do_syscall_64+0x1a7/0x620 arch/x86/entry/common.c:296
R13: ffff8880ae607a64 R14: ffff88804e9ba240 R15: ffff8880ae607a60
Code: 1f 44 00 00 25 00 02 00 00 31 ff 48 89 c3 48 89 c6 e8 cd 19 69 00 48 85 db 0f 84 00 03 00 00 e8 2f 18 69 00 00 00 00 00 00 00 <00> 91 00 00 10 89 de e8 8d 19 69 00 85 db 0f 85 58 03 00 00 e8 10
FS: 00007f877e93a700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
RSP: 0018:ffff8880828b7f28 EFLAGS: 00010286
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000004341d000 CR4: 00000000001426f0
RAX: ffff8880828ae140 RBX: 0000000000000200 RCX: ffffffff81009993
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff810099a1 RDI: 0000000000000007
DR3: 00000000cb5e8b80 DR6: 00000000ffff0ff0 DR7: 0000000000000400
RBP: ffff8880828b7f58 R08: 0000000000000000 R09: 0000000000000000


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jan 4, 2021, 7:29:11 AM1/4/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages