In the Linux kernel, the following vulnerability has been resolved:
net: altera: Fix refcount leak in alteratsemdio_create
Every iteration of foreachchildofnode() decrements the reference count of the previous node. When break from a foreachchildofnode() loop, we need to explicitly call ofnodeput() on the child node when not need anymore. Add missing ofnodeput() to avoid refcount leak.