{"id":"CVE-2022-50311","title":"cxl: Fix refcount leak in cxl_calc_capp_routing","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl: Fix refcount leak in cxl_calc_capp_routing\n\nof_get_next_parent() returns a node pointer with refcount incremented,\nwe should use of_node_put() on it when not need …","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= f24be42aab37c6d07c05126673138e06223a6399 < c9bebc503881c1391f6c4f820134884adecf1519","Linux >= f24be42aab37c6d07c05126673138e06223a6399 < ee870f72465015327ad96204b0e92450d04870cd","Linux >= f24be42aab37c6d07c05126673138e06223a6399 < f2d60f6ba173cded65081cee690b67802395a479","Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 81c8bbf5b2b5f0c8030fff1716c00849cda8571a","Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 6a310e8db5409676b4b3e6c1f54dff174e4fd04d","Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 651e8bc9d0418c20a1989b7c078c64c2a6346fa3","Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 2d7b6580384e6d65419933ddc525bd176095da54","Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 1d09697ff22908ae487fc8c4fbde1811732be523","Linux 4.12"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:09:29.663410Z"},"published":"2025-09-15","updated":"2026-11-05","sourceUpdated":"2026-11-05T20:10:34.210Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-50311","references":[{"url":"https://git.kernel.org/stable/c/c9bebc503881c1391f6c4f820134884adecf1519"},{"url":"https://git.kernel.org/stable/c/ee870f72465015327ad96204b0e92450d04870cd"},{"url":"https://git.kernel.org/stable/c/f2d60f6ba173cded65081cee690b67802395a479"},{"url":"https://git.kernel.org/stable/c/81c8bbf5b2b5f0c8030fff1716c00849cda8571a"},{"url":"https://git.kernel.org/stable/c/6a310e8db5409676b4b3e6c1f54dff174e4fd04d"},{"url":"https://git.kernel.org/stable/c/651e8bc9d0418c20a1989b7c078c64c2a6346fa3"},{"url":"https://git.kernel.org/stable/c/2d7b6580384e6d65419933ddc525bd176095da54"},{"url":"https://git.kernel.org/stable/c/1d09697ff22908ae487fc8c4fbde1811732be523"}],"tags":["cve.org"],"epss":0.0016,"epssPercentile":0.05166,"ingestedAt":"2026-11-05T22:38:31.724Z","slug":"CVE-2022-50311","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ncxl: Fix refcount leak in cxl_calc_capp_routing\n\nof_get_next_parent() returns a node pointer with refcount incremented,\nwe should use of_node_put() on it when not need anymore.\nThis function only calls of_node_put() in normal path,\nmissing it in the error path.\nAdd missing of_node_put() to avoid refcount leak.\n\n## Affected\n\n- `Linux >= f24be42aab37c6d07c05126673138e06223a6399 < c9bebc503881c1391f6c4f820134884adecf1519`\n- `Linux >= f24be42aab37c6d07c05126673138e06223a6399 < ee870f72465015327ad96204b0e92450d04870cd`\n- `Linux >= f24be42aab37c6d07c05126673138e06223a6399 < f2d60f6ba173cded65081cee690b67802395a479`\n- `Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 81c8bbf5b2b5f0c8030fff1716c00849cda8571a`\n- `Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 6a310e8db5409676b4b3e6c1f54dff174e4fd04d`\n- `Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 651e8bc9d0418c20a1989b7c078c64c2a6346fa3`\n- `Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 2d7b6580384e6d65419933ddc525bd176095da54`\n- `Linux >= f24be42aab37c6d07c05126673138e06223a6399 < 1d09697ff22908ae487fc8c4fbde1811732be523`\n- `Linux 4.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}