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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49161.json",
"cna_assigner": "Linux"
}