exit_mm kernel/exit.c:507 [inline] do_exit+0xa12/0x2a30 kernel/exit.c:793 do_group_exit+0xd2/0x2f0 kernel/exit.c:936 __do_sys_exit_group kernel/exit.c:947 [inline] __se_sys_exit_group kernel/exit.c:945 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:945 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 ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:720! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3591 Comm: syz-executor359 Tainted: G W 5.17.0-syzkaller-02237-g1bc191051dca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:put_page_testzero include/linux/mm.h:720 [inline] RIP: 0010:folio_put_testzero include/linux/mm.h:726 [inline] RIP: 0010:folio_put include/linux/mm.h:1204 [inline] RIP: 0010:put_page include/linux/mm.h:1238 [inline] RIP: 0010:kvm_release_pfn_clean.part.0+0x245/0x290 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2792 Code: e8 80 8b 70 00 48 89 ef e8 88 86 9b 00 5b 5d 41 5c e9 6f 8b 70 00 e8 6a 8b 70 00 48 c7 c6 40 12 a2 89 48 89 ef e8 cb 3e a6 00 <0f> 0b e8 54 c6 bb 00 e9 eb fd ff ff 48 89 ef e8 47 c6 bb 00 e9 78 RSP: 0018:ffffc90002c5fb40 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffea0001ca7974 RCX: 0000000000000000 RDX: ffff888076db8000 RSI: ffffffff81083525 RDI: 0000000000000003 RBP: ffffea0001ca7940 R08: 0000000000000029 R09: 00000000ffffffff R10: ffffffff89186e92 R11: 00000000ffffffff R12: 0000000000000000 R13: ffff8880729e5000 R14: 0000600000000000 R15: ffff88813fff91c0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd71251dc0 CR3: 0000000022e53000 CR4: 00000000003526e0 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+0x2df/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:11774 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+0xaff/0x2a30 kernel/exit.c:806 do_group_exit+0xd2/0x2f0 kernel/exit.c:936 __do_sys_exit_group kernel/exit.c:947 [inline] __se_sys_exit_group kernel/exit.c:945 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:945 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:0x7fc40e85fc09 Code: Unable to access opcode bytes at RIP 0x7fc40e85fbdf. RSP: 002b:00007fff3320ca18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fc40e8d3270 RCX: 00007fc40e85fc09 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc40e8d3270 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:put_page_testzero include/linux/mm.h:720 [inline] RIP: 0010:folio_put_testzero include/linux/mm.h:726 [inline] RIP: 0010:folio_put include/linux/mm.h:1204 [inline] RIP: 0010:put_page include/linux/mm.h:1238 [inline] RIP: 0010:kvm_release_pfn_clean.part.0+0x245/0x290 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2792 Code: e8 80 8b 70 00 48 89 ef e8 88 86 9b 00 5b 5d 41 5c e9 6f 8b 70 00 e8 6a 8b 70 00 48 c7 c6 40 12 a2 89 48 89 ef e8 cb 3e a6 00 <0f> 0b e8 54 c6 bb 00 e9 eb fd ff ff 48 89 ef e8 47 c6 bb 00 e9 78 RSP: 0018:ffffc90002c5fb40 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffea0001ca7974 RCX: 0000000000000000 RDX: ffff888076db8000 RSI: ffffffff81083525 RDI: 0000000000000003 RBP: ffffea0001ca7940 R08: 0000000000000029 R09: 00000000ffffffff R10: ffffffff89186e92 R11: 00000000ffffffff R12: 0000000000000000 R13: ffff8880729e5000 R14: 0000600000000000 R15: ffff88813fff91c0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd71251dc0 CR3: 0000000022e53000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400