&gt; dereferencing null is perfectly fine on Cortex-M processors and is well-defined<p>It&#x27;s also perfectly fine on x86, in kernel memory page 0 is often mapped, the OS is the one mapping page 0 so that userland dereferencing it faults.