In the Linux kernel, the following vulnerability has been resolved: ASoc: audio-graph-card2: Fix refcount leak bug in _graphgettype() We should call ofnodeput() for the reference before its replacement as it returned by ofgetparent() which has increased the refcount. Besides, we should also call ofnode_put() before return.