In the Linux kernel, the following vulnerability has been resolved:
dmaengine: ti: k3-udma-private: Fix refcount leak bug in ofxudmadev_get()
We should call ofnodeput() for the reference returned by ofparsephandle() in fail path or when it is not used anymore. Here we only need to move the ofnodeput() before the check.