Check pos pointer on reads.

Copy the user space memory to kernel memory using
memdup_user function.