Fix a stack leak. Prevent the kernel stack from overflowing.