* Maxime Villard <m...@m00nbsd.net> [2020-02-22 12:16:35 +0100]:

CVSROOT:        /cvs
Module name:    src
Changes by:     morti...@cvs.openbsd.org        2020/02/15 15:59:55

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

Log message:
Add bounds check on addresses passed from guests in pvclock.

Fixes an issue where a guest can write to host memory by passing bogus 
addresses.

I'm a bit confused here. It is not because the GPAs are contiguous that the
HPAs are too. If the structure crosses a page, the guest still can write to
host memory.


Yup, you're right.  Thanks Maxime!

--
Pratik

Reply via email to