In the Linux kernel, the following vulnerability has been resolved: dma-buf: insert memory barrier before updating num_fences smp_store_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.
https://git.kernel.org/stable/c/fe1bebd0edb22e3536cbc920ec713331d1367ad4
https://git.kernel.org/stable/c/c9d2b9a80d06a58f37e0dc8c827075639b443927
https://git.kernel.org/stable/c/72c7d62583ebce7baeb61acce6057c361f73be4a
https://git.kernel.org/stable/c/3becc659f9cb76b481ad1fb71f54d5c8d6332d3f
https://git.kernel.org/stable/c/08680c4dadc6e736c75bc2409d833f03f9003c51