[<prev] [next>] [day] [month] [year] [list]
Message-ID: <000000000000ba0e9c0578f7460f@google.com>
Date: Wed, 24 Oct 2018 03:52:02 -0700
From: syzbot <syzbot+ba439f0471266afef763@...kaller.appspotmail.com>
To: bp@...en8.de, hpa@...or.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, mingo@...hat.com,
pbonzini@...hat.com, rkrcmar@...hat.com,
syzkaller-bugs@...glegroups.com, tglx@...utronix.de, x86@...nel.org
Subject: BUG: unable to handle kernel paging request in mmu_page_zap_pte
Hello,
syzbot found the following crash on:
HEAD commit: 44786880df19 Merge branch 'parisc-4.20-1' of git://git.ker..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=13debe13400000
kernel config: https://syzkaller.appspot.com/x/.config?x=5071a2e3cb82c943
dashboard link: https://syzkaller.appspot.com/bug?extid=ba439f0471266afef763
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16790ff9400000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+ba439f0471266afef763@...kaller.appspotmail.com
8021q: adding VLAN 0 to HW filter on device team0
8021q: adding VLAN 0 to HW filter on device team0
8021q: adding VLAN 0 to HW filter on device team0
8021q: adding VLAN 0 to HW filter on device team0
L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and
https://www.kernel.org/doc/html/latest/admin-guide/l1tf.html for details.
BUG: unable to handle kernel paging request at ffff8801bcd3d000
kobject: 'kvm' (000000008948623e): kobject_uevent_env
PGD bc01067 P4D bc01067 PUD 80000001800001e3
Oops: 000b [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7199 Comm: syz-executor5 Not tainted 4.19.0+ #77
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:__update_clear_spte_fast include/linux/compiler.h:206 [inline]
RIP: 0010:mmu_spte_clear_no_track arch/x86/kvm/mmu.c:819 [inline]
RIP: 0010:drop_parent_pte arch/x86/kvm/mmu.c:1998 [inline]
RIP: 0010:mmu_page_zap_pte+0x295/0x390 arch/x86/kvm/mmu.c:2576
Code: 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c7 85 58 ff ff ff 00 00 00
00 48 c1 ea 03 80 3c 02 00 0f 85 d4 00 00 00 48 c1 eb 03 <49> c7 45 00 00
00 00 00 48 b8 00 00 00 00 00 fc ff df 41 be 01 00
RSP: 0018:ffff8801b949f158 EFLAGS: 00010a06
RAX: dffffc0000000000 RBX: 1ffff10037293e30 RCX: ffffffff8111254b
RDX: 1ffff100379a7a00 RSI: ffffffff8111262b RDI: 0000000000000007
RBP: ffff8801b949f228 R08: ffff8801b8e66100 R09: ffffed003b5e5b57
R10: ffffed003b5e5b57 R11: ffff8801daf2dabb R12: 1ffff10037293e2c
R13: ffff8801bcd3d000 R14: 0000000000000004 R15: 0000000000000000
FS: 0000000001c2b940(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8801bcd3d000 CR3: 00000001c0684000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
kvm_mmu_page_unlink_children arch/x86/kvm/mmu.c:2593 [inline]
kvm_mmu_prepare_zap_page+0x215/0x1830 arch/x86/kvm/mmu.c:2637
kvm_zap_obsolete_pages arch/x86/kvm/mmu.c:5736 [inline]
kvm_mmu_invalidate_zap_all_pages+0x348/0x7b0 arch/x86/kvm/mmu.c:5777
kvm_arch_flush_shadow_all+0x15/0x20 arch/x86/kvm/x86.c:9215
kvm_mmu_notifier_release+0x59/0x90
arch/x86/kvm/../../../virt/kvm/kvm_main.c:497
mmu_notifier_unregister+0x1ff/0x600 mm/mmu_notifier.c:396
kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:748 [inline]
kvm_put_kvm+0x6c0/0xff0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:773
kvm_vcpu_release+0x7b/0xa0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2407
__fput+0x385/0xa30 fs/file_table.c:278
____fput+0x15/0x20 fs/file_table.c:309
task_work_run+0x1e8/0x2a0 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:193 [inline]
exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166
prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x411021
Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 00 00 c3 48
83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48
89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffe6a59f310 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000411021
RDX: 0000000000000000 RSI: 0000000000730930 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 00007ffe6a59f240 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000000008 R15: 0000000000000005
Modules linked in:
CR2: ffff8801bcd3d000
---[ end trace 3fadd54c1e724eb5 ]---
RIP: 0010:__update_clear_spte_fast include/linux/compiler.h:206 [inline]
RIP: 0010:mmu_spte_clear_no_track arch/x86/kvm/mmu.c:819 [inline]
RIP: 0010:drop_parent_pte arch/x86/kvm/mmu.c:1998 [inline]
RIP: 0010:mmu_page_zap_pte+0x295/0x390 arch/x86/kvm/mmu.c:2576
Code: 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c7 85 58 ff ff ff 00 00 00
00 48 c1 ea 03 80 3c 02 00 0f 85 d4 00 00 00 48 c1 eb 03 <49> c7 45 00 00
00 00 00 48 b8 00 00 00 00 00 fc ff df 41 be 01 00
RSP: 0018:ffff8801b949f158 EFLAGS: 00010a06
RAX: dffffc0000000000 RBX: 1ffff10037293e30 RCX: ffffffff8111254b
RDX: 1ffff100379a7a00 RSI: ffffffff8111262b RDI: 0000000000000007
RBP: ffff8801b949f228 R08: ffff8801b8e66100 R09: ffffed003b5e5b57
R10: ffffed003b5e5b57 R11: ffff8801daf2dabb R12: 1ffff10037293e2c
R13: ffff8801bcd3d000 R14: 0000000000000004 R15: 0000000000000000
FS: 0000000001c2b940(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8801bcd3d000 CR3: 00000001c0684000 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 syzkaller@...glegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches
Powered by blists - more mailing lists