syzbot


WARNING in kvm_mmu_uninit_tdp_mmu (2)

Status: auto-obsoleted due to no activity on 2022/08/31 19:06
Reported-by: syzbot+a8ad3ee1525a0c4b40ec@syzkaller.appspotmail.com
First crash: 167d, last: 158d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kvm_mmu_uninit_tdp_mmu 3 244d 327d 22/24 fixed on 2022/03/08 16:11
Patch testing requests:
Created Duration User Patch Repo Result
2022/08/31 18:27 30m upstream OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3597 at arch/x86/kvm/mmu/tdp_mmu.c:57 kvm_mmu_uninit_tdp_mmu+0xf8/0x130 arch/x86/kvm/mmu/tdp_mmu.c:57
Modules linked in:
CPU: 1 PID: 3597 Comm: syz-executor294 Not tainted 5.18.0-rc3-syzkaller-00060-g59f0c2447e25 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:kvm_mmu_uninit_tdp_mmu+0xf8/0x130 arch/x86/kvm/mmu/tdp_mmu.c:57
Code: 83 d8 a0 00 00 48 39 c5 75 24 e8 e3 4d 5a 00 e8 9e e0 45 00 5b 5d e9 d7 4d 5a 00 e8 b2 42 a5 00 e9 3d ff ff ff e8 c8 4d 5a 00 <0f> 0b eb ad e8 bf 4d 5a 00 0f 0b eb d3 e8 c6 42 a5 00 e9 64 ff ff
RSP: 0018:ffffc90002e37c08 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffc90002cda000 RCX: 0000000000000000
RDX: ffff888023f1e180 RSI: ffffffff811e1688 RDI: 0000000000000001
RBP: ffffc90002ce40e8 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817ead48 R11: 0000000000000000 R12: ffffc90002cda000
R13: ffffc90002e37c50 R14: 0000000000000003 R15: ffffc90002cdb240
FS:  0000000000000000(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560ac4d0cd68 CR3: 000000000ba8e000 CR4: 0000000000152ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kvm_arch_destroy_vm+0x350/0x470 arch/x86/kvm/x86.c:11860
 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1230 [inline]
 kvm_put_kvm+0x4fa/0xb70 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1264
 kvm_vm_release+0x3f/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1287
 __fput+0x277/0x9d0 fs/file_table.c:317
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:37 [inline]
 do_exit+0xaff/0x2a00 kernel/exit.c:795
 do_group_exit+0xd2/0x2f0 kernel/exit.c:925
 __do_sys_exit_group kernel/exit.c:936 [inline]
 __se_sys_exit_group kernel/exit.c:934 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:934
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f0327505409
Code: Unable to access opcode bytes at RIP 0x7f03275053df.
RSP: 002b:00007ffc4a0be998 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f0327578350 RCX: 00007f0327505409
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 68742f636f72702f
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007f0327578350
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
 </TASK>

Crashes (10):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream 2022/04/22 09:48 upstream 59f0c2447e25 2738b391 .config log report syz C WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/28 03:03 upstream 46cf2c613f4b 8a1f1f07 .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/28 03:03 upstream 46cf2c613f4b 8a1f1f07 .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/28 02:59 upstream 46cf2c613f4b 8a1f1f07 .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/23 20:43 upstream 45ab9400e73f 131df97d .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/23 08:15 upstream c00c5e1d157b 131df97d .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/22 06:23 upstream 59f0c2447e25 2738b391 .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/21 06:27 upstream b253435746d9 d4befee1 .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/19 18:50 upstream b7f73403a3e9 c334415e .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
ci-qemu-upstream 2022/04/19 10:45 upstream b2d229d4ddb1 c334415e .config log report info WARNING in kvm_mmu_uninit_tdp_mmu
* Struck through repros no longer work on HEAD.