the application you are running exits in the user-space and can't not be used in kernel-mode,
some important concepts:
""Depending on which architecture your driver is running on, and how the kernel was configured, the user-space pointers may not be valid while running in kernel mode at all. There may be no mapping for that address, or it could point to some other, random data.
Even if the pointer does mean the same thing in kernel space, user-space memory is paged, and the memory in question might not be resident in RAM when the system call is made. Attempting to reference the user-space memory directly could generate a page fault, which is something that kernel code is not allowed to do.""