In the Linux kernel, the following vulnerability has been resolved:
memory: of: Fix refcount leak bug in oflpddr3getddrtimings()
We should add the ofnodeput() when breaking out of foreachchildofnode() as it will automatically increase and decrease the refcount.