kernel BUG at arch/x86/kvm/x86.c:LINE! (3)

22 views
Skip to first unread message

syzbot

unread,
Mar 8, 2019, 12:59:06 PM3/8/19
to b...@alien8.de, h...@zytor.com, k...@vger.kernel.org, linux-...@vger.kernel.org, mi...@redhat.com, pbon...@redhat.com, rkr...@redhat.com, syzkall...@googlegroups.com, tg...@linutronix.de, x...@kernel.org
Hello,

syzbot found the following crash on:

HEAD commit: cf08baa2 Add linux-next specific files for 20190306
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=12f3819d200000
kernel config: https://syzkaller.appspot.com/x/.config?x=c8b6073d992e8217
dashboard link: https://syzkaller.appspot.com/bug?extid=83a3e122f8c1b25b3111
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
userspace arch: amd64

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

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+83a3e1...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at arch/x86/kvm/x86.c:357!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2530 Comm: kworker/u4:4 Not tainted 5.0.0-next-20190306 #4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357
Code: e8 bc 7d 66 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90
66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 97 7d 66 00 <0f> 0b 0f 1f 44
00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54
RSP: 0018:ffff8880ae907e80 EFLAGS: 00010006
RAX: ffff8880a1650200 RBX: ffff888053363f68 RCX: ffffffff8132bc7a
RDX: 0000000000010000 RSI: ffffffff810a1699 RDI: 0000000000000007
RBP: ffff8880ae907e80 R08: ffff8880a1650200 R09: ffffed1015d25be9
R10: ffffed1015d25be8 R11: ffff8880ae92df47 R12: 1ffff11015d20fd3
R13: ffff888098456000 R14: ffff8880ae907ef8 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880ae907eb8 CR3: 000000005bdae000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
vmcs_clear arch/x86/kvm/vmx/ops.h:185 [inline]
loaded_vmcs_init+0x95/0x250 arch/x86/kvm/vmx/vmx.c:570
__loaded_vmcs_clear+0x229/0x360 arch/x86/kvm/vmx/vmx.c:637
flush_smp_call_function_queue+0x14a/0x500 kernel/smp.c:243
generic_smp_call_function_single_interrupt+0x13/0x2b kernel/smp.c:192
smp_call_function_single_interrupt+0xa3/0x460 arch/x86/kernel/smp.c:296
call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
</IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:767
[inline]
RIP: 0010:lock_acquire+0x1ea/0x3f0 kernel/locking/lockdep.c:4205
Code: 7c 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 c7 01 00 00 48
83 3d d2 fa 3a 07 00 0f 84 3b 01 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00
48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 65 8b
RSP: 0018:ffff8880a165fc80 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff04
RAX: 1ffffffff11252b6 RBX: ffff8880a1650200 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000286
RBP: ffff8880a165fcc8 R08: 0000000069c38c2d R09: ffffffff895e57b4
R10: ffff8880a1650ad0 R11: ffff8880a1650200 R12: ffffffff889a5b00
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002
rcu_lock_acquire include/linux/rcupdate.h:210 [inline]
rcu_read_lock include/linux/rcupdate.h:595 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline]
batadv_nc_worker+0x117/0x760 net/batman-adv/network-coding.c:730
process_one_work+0x98e/0x1790 kernel/workqueue.c:2269
worker_thread+0x98/0xe40 kernel/workqueue.c:2415
kthread+0x357/0x430 kernel/kthread.c:253
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace 909e627acbdd0177 ]---
RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357
Code: e8 bc 7d 66 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90
66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 97 7d 66 00 <0f> 0b 0f 1f 44
00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54
RSP: 0018:ffff8880ae907e80 EFLAGS: 00010006
RAX: ffff8880a1650200 RBX: ffff888053363f68 RCX: ffffffff8132bc7a
RDX: 0000000000010000 RSI: ffffffff810a1699 RDI: 0000000000000007
RBP: ffff8880ae907e80 R08: ffff8880a1650200 R09: ffffed1015d25be9
R10: ffffed1015d25be8 R11: ffff8880ae92df47 R12: 1ffff11015d20fd3
R13: ffff888098456000 R14: ffff8880ae907ef8 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880ae907eb8 CR3: 000000005bdae000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.

syzbot

unread,
Sep 4, 2019, 3:38:04 AM9/4/19
to syzkall...@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