Memory corruption while invoking IOCTLs calls from user space for internal mem MAP and internal mem UNMAP.