In the Linux kernel, the following vulnerability has been resolved: dmaengine: ti: k3-udma-private: Fix refcount leak bug in ofxudmadevget() 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 ofnode_put() before the check.