syzbot


WARNING in kvm_mmu_notifier_invalidate_range_start (3)

Status: upstream: reported C repro on 2023/11/17 05:01
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+c74f40907a9c0479af10@syzkaller.appspotmail.com
First crash: 106d, last: 41d
Cause bisection: the cause commit could be any of (bisect log):
  d61ea1cb0095 userfaultfd: UFFD_FEATURE_WP_ASYNC
  52526ca7fdb9 fs/proc/task_mmu: implement IOCTL to get and optionally clear info about PTEs
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly kvm report (Jan 2024) 0 (1) 2024/01/19 10:35
[syzbot] Monthly kvm report (Dec 2023) 0 (1) 2023/12/16 23:58
[syzbot] [kvm?] WARNING in kvm_mmu_notifier_invalidate_range_start (3) 0 (2) 2023/11/17 10:55
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kvm_mmu_notifier_invalidate_range_start (2) kvm C done 14 694d 708d 22/26 fixed on 2023/02/24 13:50
upstream WARNING in kvm_mmu_notifier_invalidate_range_start kvm C done 19 729d 790d 20/26 fixed on 2022/03/08 16:11
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/02/20 00:32 20m retest repro upstream OK log
2023/12/07 05:45 38m retest repro upstream report log
2023/11/17 10:55 22m tintinm2017@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
kvm_intel: L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5071 at arch/x86/kvm/../../../virt/kvm/kvm_main.c:592 __kvm_handle_hva_range arch/x86/kvm/../../../virt/kvm/kvm_main.c:592 [inline]
WARNING: CPU: 1 PID: 5071 at arch/x86/kvm/../../../virt/kvm/kvm_main.c:592 kvm_mmu_notifier_invalidate_range_start+0x91b/0xa90 arch/x86/kvm/../../../virt/kvm/kvm_main.c:811
Modules linked in:
CPU: 1 PID: 5071 Comm: syz-executor531 Not tainted 6.6.0-syzkaller-16201-gb57b17e88bf5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:__kvm_handle_hva_range arch/x86/kvm/../../../virt/kvm/kvm_main.c:592 [inline]
RIP: 0010:kvm_mmu_notifier_invalidate_range_start+0x91b/0xa90 arch/x86/kvm/../../../virt/kvm/kvm_main.c:811
Code: 1b 8c 7e 00 45 84 e4 0f 85 9f f8 ff ff e8 dd 90 7e 00 0f 0b e9 93 f8 ff ff e8 d1 90 7e 00 0f 0b e9 d9 fd ff ff e8 c5 90 7e 00 <0f> 0b e9 e6 fc ff ff e8 b9 90 7e 00 0f 0b e9 a9 fc ff ff e8 ad 90
RSP: 0018:ffffc90003877ac8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000020ffc000 RCX: ffffffff810a0d7b
RDX: ffff88807e9d1dc0 RSI: ffffffff810a141b RDI: 0000000000000006
RBP: ffffc90003877d60 R08: 0000000000000006 R09: 0000000020ffc000
R10: 0000000020ffc000 R11: ffffffff916014f0 R12: ffffc900015aea30
R13: 0000000000000001 R14: 0000000020ffc000 R15: ffffc900015b7810
FS:  00005555562b2380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd7cef33ae0 CR3: 000000007bde5000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 mn_hlist_invalidate_range_start mm/mmu_notifier.c:493 [inline]
 __mmu_notifier_invalidate_range_start+0x3b5/0x8e0 mm/mmu_notifier.c:548
 mmu_notifier_invalidate_range_start include/linux/mmu_notifier.h:457 [inline]
 do_pagemap_scan+0xbd3/0xcc0 fs/proc/task_mmu.c:2422
 do_pagemap_cmd+0x5e/0x80 fs/proc/task_mmu.c:2478
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl fs/ioctl.c:857 [inline]
 __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f826e81d5e9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc43d7c2d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffc43d7c2e0 RCX: 00007f826e81d5e9
RDX: 0000000020000040 RSI: 00000000c0606610 RDI: 0000000000000005
RBP: 00007f826e890610 R08: 0000000000000000 R09: 68742f636f72702f
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc43d7c518 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/13 05:16 upstream b57b17e88bf5 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2024/01/16 20:20 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kvm_mmu_notifier_invalidate_range_start
2024/01/16 04:19 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2024/01/12 07:39 upstream 3e7aeb78ab01 dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in kvm_mmu_notifier_invalidate_range_start
2024/01/07 20:24 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2024/01/07 15:44 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/31 14:17 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/27 13:04 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/21 23:25 upstream a4aebe936554 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/20 01:37 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/20 01:32 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/20 01:32 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/16 08:30 upstream 3bd7d7488169 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/08 03:46 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/08 03:44 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/08 03:43 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/23 05:24 upstream 9b6de136b5f0 03e12510 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 04:27 upstream 05aa69b096a0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 03:03 upstream 05aa69b096a0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 02:51 upstream 05aa69b096a0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 02:05 upstream 05aa69b096a0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 02:05 upstream 05aa69b096a0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/13 04:51 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in kvm_mmu_notifier_invalidate_range_start
2024/01/10 07:29 upstream 6c1dd1fe5d8a b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2024/01/05 16:36 upstream 1f874787ed9a 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/20 01:47 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/08 03:43 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 03:58 upstream 05aa69b096a0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 02:06 upstream 05aa69b096a0 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/20 01:33 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/08 04:01 upstream 9ace34a8e446 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 05:15 upstream 23dfa043f6d5 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 02:13 upstream 23dfa043f6d5 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/31 07:59 upstream 453f5db0619e fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/20 01:32 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/08 03:47 upstream 9ace34a8e446 28b24332 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 02:18 upstream 23dfa043f6d5 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 02:14 upstream 23dfa043f6d5 cb976f63 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/28 10:11 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/26 21:26 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/20 01:32 linux-next aa4db8324c4d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/12/08 03:45 linux-next 8e00ce02066e 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 04:47 linux-next eff99d8edbed cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_mmu_notifier_invalidate_range_start
2023/11/19 02:12 linux-next eff99d8edbed cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in kvm_mmu_notifier_invalidate_range_start
* Struck through repros no longer work on HEAD.