HomeFreeBSD

vmm: fix use after free in ppt_detach()

Description

vmm: fix use after free in ppt_detach()

The vmm module destroys the host_domain before unloading the ppt module
causing a use after free. This can happen when kldunload'ing vmm.

Reviewed by: markj, jhb
Differential Revision: https://reviews.freebsd.org/D38072

Details

Provenance
rewAuthored on Jan 20 2023, 11:25 AM
Reviewer
markj
Differential Revision
D38072: vmm: fix use after free in ppt_detach()
Parents
rGc668e8173a8f: vmm: take exclusive mem_segs_lock in vm_cleanup()
Branches
Unknown
Tags
Unknown