In the Linux kernel, the following vulnerability has been resolved: dma-buf: insert memory barrier before updating numfences smpstore_mb() inserts memory barrier after storing operation. It is different with what the comment is originally aiming so Null pointer dereference can be happened if memory update is reordered.