In the Linux kernel, the following vulnerability has been resolved:
mtd: maps: Fix refcount leak in offlashprobe_versatile
offindmatchingnodeandmatch() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnode_put() to avoid refcount leak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50161.json"
}