ssrg-vt/hermitux

Sanitize close() parameter

olivierpierre opened this issue · 1 comments

A buggy application can crash the VM by passing arbitrary file descriptors to close that would trigger uhyve closing important internal file decriptors such as the ones used for the KVM VCPUs. Here is an example of how to do that.

Fixed in this commit