CVSROOT:        /cvs
Module name:    src
Changes by:     mlar...@cvs.openbsd.org 2019/12/04 01:17:30

Modified files:
        sys/arch/amd64/amd64: vmm.c 

Log message:
Fix uvm_unmap_remove panic when tearing down VMs.

Type confusion when tearing down a vmm(4) VM's vm_map led UVM to interpret
the vm_map as a struct uvmspace, and occasionally fail. stefan@ pointed out
the root cause a while back but I never had time to look at this until now.

Syzkaller also found a reproducer for this, so the "Reported by" line
below is a clue to let it know to close that bug.

idea by, and ok stefan@
also ok anton@

Reported-by: syzbot+dbd6e2a7583e958e6...@syzkaller.appspotmail.com

Reply via email to