In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: Fix error handling in mt8183da7219max98357devprobe
The devicenode pointer is returned by ofparsephandle() with refcount incremented. We should use ofnode_put() on it when done.
This function only calls ofnodeput() in the regular path. And it will cause refcount leak in error paths. Fix this by calling ofnodeput() in error handling too.