WARNING in kvm_arch_flush_shadow_all

Status: premoderation: reported C repro on 2026/11/18 15:23
Reported-by: syzbot+8fafdffcbf1d06453c94@syzkaller.appspotmail.com
First crash: 4h10m, last: 2h33m

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 314 at arch/x86/kvm/mmu/mmu.c:7051 kvm_mmu_zap_all arch/x86/kvm/mmu/mmu.c:7051 [inline]
WARNING: CPU: 0 PID: 314 at arch/x86/kvm/mmu/mmu.c:7051 kvm_arch_flush_shadow_all+0x1f8/0x2d0 arch/x86/kvm/mmu/mmu.c:7069
Modules linked in:
CPU: 0 UID: 0 PID: 314 Comm: syz-executor199 Not tainted syzkaller #0 6034b4a8aa7ab0751549cfe48e09a67d1e893d70
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:kvm_mmu_zap_all arch/x86/kvm/mmu/mmu.c:7051 [inline]
RIP: 0010:kvm_arch_flush_shadow_all+0x1f8/0x2d0 arch/x86/kvm/mmu/mmu.c:7069
Code: 39 fd 74 52 e8 09 2c 61 00 e9 2c ff ff ff e8 ff 2b 61 00 4d 39 fc 74 56 e8 f5 2b 61 00 4d 89 e5 e9 15 ff ff ff e8 e8 2b 61 00 <0f> 0b 4c 8d 6c 24 40 4d 39 fc 75 e2 eb 36 44 89 f1 80 e1 07 80 c1
RSP: 0018:ffffc9000129f700 EFLAGS: 00010293
RAX: ffffffff81284028 RBX: ffffc90000d29000 RCX: ffff88811fd48000
RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000000000000000
RBP: ffffc9000129f7a8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000253ed0 R12: ffffc90000d32300
R13: ffff8881077b68b8 R14: 0000000000000800 R15: ffffc90000d32300
FS:  0000000000000000(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000106734000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000008000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kvm_flush_shadow_all virt/kvm/kvm_main.c:384 [inline]
 kvm_mmu_notifier_release+0x36/0x80 virt/kvm/kvm_main.c:915
 mn_hlist_release mm/mmu_notifier.c:321 [inline]
 __mmu_notifier_release+0x31a/0x540 mm/mmu_notifier.c:359
 mmu_notifier_release include/linux/mmu_notifier.h:411 [inline]
 exit_mmap+0x13d/0xc20 mm/mmap.c:1956
 __mmput+0x92/0x330 kernel/fork.c:1370
 mmput+0x55/0x170 kernel/fork.c:1394
 exit_mm kernel/exit.c:581 [inline]
 do_exit+0x9a5/0x2850 kernel/exit.c:948
 do_group_exit+0x21f/0x2f0 kernel/exit.c:1104
 get_signal+0x134c/0x1490 kernel/signal.c:2942
 arch_do_signal_or_restart+0xbc/0x700 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x57/0xb0 kernel/entry/common.c:218
 do_syscall_64+0x63/0xf0 arch/x86/entry/common.c:84
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f79dcee25c9
Code: Unable to access opcode bytes at 0x7f79dcee259f.
RSP: 002b:00007ffd64676368 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 00002000000007c0 RCX: 00007f79dcee25c9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000
R13: 431bde82d7b634db R14: 00007f79dcf7bc40 R15: 0000000000000002
 </TASK>
---[ end trace 0000000000000000 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/18 16:59 android16-6.12 b02875d1da7d eb4895d7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in kvm_arch_flush_shadow_all
2026/11/18 16:27 android16-6.12 b02875d1da7d eb4895d7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in kvm_arch_flush_shadow_all
2026/11/18 15:55 android16-6.12 b02875d1da7d eb4895d7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in kvm_arch_flush_shadow_all
2026/11/18 15:22 android16-6.12 b02875d1da7d eb4895d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in kvm_arch_flush_shadow_all
* Struck through repros no longer work on HEAD.