zap_pte_range mm/memory.c:1441 [inline] zap_pmd_range mm/memory.c:1490 [inline] zap_pud_range mm/memory.c:1519 [inline] zap_p4d_range mm/memory.c:1540 [inline] unmap_page_range+0x1d1d/0x2a30 mm/memory.c:1561 unmap_single_vma+0x198/0x310 mm/memory.c:1606 unmap_vmas+0x16b/0x2f0 mm/memory.c:1638 exit_mmap+0x201/0x6a0 mm/mmap.c:3178 __mmput+0x122/0x4b0 kernel/fork.c:1114 mmput+0x56/0x60 kernel/fork.c:1135 exit_mm kernel/exit.c:507 [inline] do_exit+0xa3c/0x2a30 kernel/exit.c:793 do_group_exit+0xd2/0x2f0 kernel/exit.c:935 get_signal+0x45a/0x2490 kernel/signal.c:2863 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:717! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 20166 Comm: syz-executor.0 Not tainted 5.17.0-rc6-syzkaller-00048-g575115360652 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:put_page_testzero include/linux/mm.h:717 [inline] RIP: 0010:folio_put_testzero include/linux/mm.h:723 [inline] RIP: 0010:folio_put include/linux/mm.h:1198 [inline] RIP: 0010:put_page include/linux/mm.h:1237 [inline] RIP: 0010:kvm_release_pfn_clean.part.0+0x1f4/0x230 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2792 Code: 41 5c e9 1f a1 70 00 e8 1a a1 70 00 49 8d 6c 24 ff e9 7e fe ff ff e8 0b a1 70 00 48 c7 c6 c0 0c a2 89 48 89 ef e8 8c 4e a4 00 <0f> 0b 48 89 df e8 d2 1e b8 00 e9 aa fe ff ff 48 89 ef e8 d5 1e b8 RSP: 0018:ffffc9001056f8c8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffea000164ed34 RCX: 0000000000000000 RDX: ffff88801cc09d00 RSI: ffffffff81080ba4 RDI: 0000000000000003 RBP: ffffea000164ed00 R08: 0000000000000024 R09: 00000000ffffffff R10: ffffffff890a1942 R11: 00000000ffffffff R12: 0000000000000000 R13: ffff8880593b4000 R14: 0000080000300000 R15: ffff88813fff9160 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdceae6b1b8 CR3: 0000000013594000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_release_pfn_clean arch/x86/kvm/../../../virt/kvm/kvm_main.c:2806 [inline] kvm_release_pfn_dirty arch/x86/kvm/../../../virt/kvm/kvm_main.c:2807 [inline] kvm_release_pfn arch/x86/kvm/../../../virt/kvm/kvm_main.c:2707 [inline] kvm_release_pfn+0x91/0xa0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2701 __release_gpc arch/x86/kvm/../../../virt/kvm/pfncache.c:121 [inline] __release_gpc arch/x86/kvm/../../../virt/kvm/pfncache.c:107 [inline] kvm_gfn_to_pfn_cache_unmap+0x2e2/0x3a0 arch/x86/kvm/../../../virt/kvm/pfncache.c:296 kvm_gfn_to_pfn_cache_destroy arch/x86/kvm/../../../virt/kvm/pfncache.c:333 [inline] kvm_gfn_to_pfn_cache_destroy+0x199/0x260 arch/x86/kvm/../../../virt/kvm/pfncache.c:326 kvm_xen_destroy_vm+0x18/0x90 arch/x86/kvm/xen.c:811 kvm_arch_destroy_vm+0x360/0x470 arch/x86/kvm/x86.c:11773 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1217 [inline] kvm_put_kvm+0x4fa/0xb60 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1250 kvm_vm_release+0x3f/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1273 __fput+0x286/0x9f0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xb29/0x2a30 kernel/exit.c:806 do_group_exit+0xd2/0x2f0 kernel/exit.c:935 get_signal+0x45a/0x2490 kernel/signal.c:2863 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:288 RIP: 0033:0x7fad9ea52471 Code: Unable to access opcode bytes at RIP 0x7fad9ea52447. RSP: 002b:00007fad9d3632f0 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: 0000000000000000 RBX: 00007fad9d363700 RCX: 00007fad9ea52471 RDX: 00007fad9d3639d0 RSI: 00007fad9d3632f0 RDI: 00000000003d0f00 RBP: 00007fad9f097cb0 R08: 00007fad9d363700 R09: 00007fad9d363700 R10: 00007fad9d3639d0 R11: 0000000000000206 R12: 00007fad9f097b1e R13: 00007fad9f097b1f R14: 00007fad9d363300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:put_page_testzero include/linux/mm.h:717 [inline] RIP: 0010:folio_put_testzero include/linux/mm.h:723 [inline] RIP: 0010:folio_put include/linux/mm.h:1198 [inline] RIP: 0010:put_page include/linux/mm.h:1237 [inline] RIP: 0010:kvm_release_pfn_clean.part.0+0x1f4/0x230 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2792 Code: 41 5c e9 1f a1 70 00 e8 1a a1 70 00 49 8d 6c 24 ff e9 7e fe ff ff e8 0b a1 70 00 48 c7 c6 c0 0c a2 89 48 89 ef e8 8c 4e a4 00 <0f> 0b 48 89 df e8 d2 1e b8 00 e9 aa fe ff ff 48 89 ef e8 d5 1e b8 RSP: 0018:ffffc9001056f8c8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffea000164ed34 RCX: 0000000000000000 RDX: ffff88801cc09d00 RSI: ffffffff81080ba4 RDI: 0000000000000003 RBP: ffffea000164ed00 R08: 0000000000000024 R09: 00000000ffffffff R10: ffffffff890a1942 R11: 00000000ffffffff R12: 0000000000000000 R13: ffff8880593b4000 R14: 0000080000300000 R15: ffff88813fff9160 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb486f03058 CR3: 000000007df10000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400