Memory corruption while invoking IOCTL calls from user-space to kernel-space to handle session errors.