[vbox-dev] Null pointer access in VMEmt.cpp by vmR3EmulationThreadWithId
Frank Mehnert
frank.mehnert at oracle.com
Mon Mar 20 07:43:53 UTC 2017
Hi all,
On Freitag, 17. März 2017 16:00:11 CET Knut St. Osmundsen wrote:
> Hi Alexander,
>
> thanks for identifying a race. Looking at the code, I can only imagine
> this happening if the other EMTs (not 0) are late into the loop due to
> busy host / scheduling fun. The only alternative I can see would be
> some wait error in vmR3BootstrapWait and causing it to return.
>
> I've committed a different fix than what you suggest in your patch,
> VMEmt.cpp should check that both pVM and pVCpu are sane before selecting
> the non-bootstrap code path. The fix should appear in the public SVN soon.
for reference:
https://www.virtualbox.org/changeset/66096/vbox and
https://www.virtualbox.org/changeset/66097/vbox
Kind regards,
Frank
More information about the vbox-dev
mailing list