Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: cxl: Fix refcount leak in cxl_calc_capp_routing of_get_next_parent() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function only calls of_node_put() in normal path, missing it in the error path. Add missing of_node_put() to avoid refcount leak.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.12, < 4.14.303 |
References
- https://git.kernel.org/stable/c/1d09697ff22908ae487fc8c4fbde1811732be523Patch
- https://git.kernel.org/stable/c/2d7b6580384e6d65419933ddc525bd176095da54Patch
- https://git.kernel.org/stable/c/651e8bc9d0418c20a1989b7c078c64c2a6346fa3Patch
- https://git.kernel.org/stable/c/6a310e8db5409676b4b3e6c1f54dff174e4fd04dPatch
- https://git.kernel.org/stable/c/81c8bbf5b2b5f0c8030fff1716c00849cda8571aPatch
- https://git.kernel.org/stable/c/c9bebc503881c1391f6c4f820134884adecf1519Patch
- https://git.kernel.org/stable/c/ee870f72465015327ad96204b0e92450d04870cdPatch
- https://git.kernel.org/stable/c/f2d60f6ba173cded65081cee690b67802395a479Patch
FAQ
What is CVE-2022-50311?
CVE-2022-50311 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: cxl: Fix refcount leak in cxl_calc_capp_routing of_get_next_parent() returns a node pointer with refcount incremented, we should u...
How severe is CVE-2022-50311?
CVE-2022-50311 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-50311?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.