In the Linux kernel, the following vulnerability has been resolved:
cxl: Fix refcount leak in cxlcalccapp_routing
ofgetnextparent() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. This function only calls ofnodeput() in normal path, missing it in the error path. Add missing ofnode_put() to avoid refcount leak.