Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mtd: partitions: Fix refcount leak in parse_redboot_of of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.4.132, < 5.4.211 |
References
- https://git.kernel.org/stable/c/55d0f7da66dec93c4d53d0886a1555618079a900Patch
- https://git.kernel.org/stable/c/7ec48ac18d8f9e002ce9bfbad32741086739e499Patch
- https://git.kernel.org/stable/c/8ea607579d300b2f7fc997f3dd20949114565fcdPatch
- https://git.kernel.org/stable/c/9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016Patch
- https://git.kernel.org/stable/c/e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0ePatch
- https://git.kernel.org/stable/c/f3cc27198c5d78cdda60a55ae749f815cd1fe5ebPatch
FAQ
What is CVE-2022-50158?
CVE-2022-50158 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: mtd: partitions: Fix refcount leak in parse_redboot_of of_get_child_by_name() returns a node pointer with refcount incremented, we...
How severe is CVE-2022-50158?
CVE-2022-50158 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50158?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.