Index: sys/arm64/arm64/pmap.c =================================================================== --- sys/arm64/arm64/pmap.c +++ sys/arm64/arm64/pmap.c @@ -6832,8 +6832,12 @@ * The translation fault may have occurred within a * critical section. Therefore, we must check the * address without acquiring the kernel pmap's lock. + * + * If the address is in DMAP and fault occured, it + * means it's not part of a valid region and therefore + * there is no valid translation to phys address. */ - if (pmap_kextract(far) != 0) + if (!VIRT_IN_DMAP(far) && pmap_kextract(far) != 0) rv = KERN_SUCCESS; } else { PMAP_LOCK(pmap);