Access testing for kernel memory space in kernel region and dynmem