VBOX Bugs

VirtualBox 5.0.40 VM crash bugs on xenial.

$ wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | sudo apt-key add -

$ sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'

$ sudo apt purge virtualbox
$ sudo apt update

$ apt-cache policy virtualbox*
$ apt-cache policy virtualbox-5.2
virtualbox-5.2:
  Installed: (none)
  Candidate: 5.2.4-119785~Ubuntu~xenial
  Version table:
     5.2.4-119785~Ubuntu~xenial 500
        500 http://download.virtualbox.org/virtualbox/debian xenial/contrib amd64 Packages

$ sudo apt install virtualbox-5.2

$ sudo apt remove --purge virtualbox-dkms
$ sudo  /sbin/vboxconfig

Ref