CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/07/24 08:11:16
Modified files:
usr.sbin/vmd : x86_vm.c
Log message:
vmd(8): reject GPAs in holes during gpa translation.
vmd independentaly allocates guest memory in a series of ranges,
mirroring the physical memory layout for the guest. The GPA translation
in find_gap_range() incorrectly selects a memory range if the GPA
is in a hole between two guest memory ranges. Make the initial check
that the GPA falls within the bounds of a known memory range instead
of just prior to the end.
Report and diff by Andrew Griffiths.
ok hshoexer@