how to detect kernel memory overflow ?