CVE-2022-50311

published 15 Sep 2025 · updated 7 Nov 2026

cxl: Fix refcount leak in cxl_calc_capp_routing

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.14.303, Kernel 4.19.270, Kernel 5.4.229 and 12 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4.12 <4.14.303, >=4.15 <4.19.270, >=4.20 <5.4.229, >=5.11 <5.15.86, >=5.16 <6.0.16, >=5.5 <5.10.163, >=6.1 <6.1.2, >=f24be42aab37c6d07c05126673138e06223a6399 <2d7b6580384e6d65419933ddc525bd176095da54, >=f24be42aab37c6d07c05126673138e06223a6399 <651e8bc9d0418c20a1989b7c078c64c2a6346fa3, >=f24be42aab37c6d07c05126673138e06223a6399 <6a310e8db5409676b4b3e6c1f54dff174e4fd04d, >=f24be42aab37c6d07c05126673138e06223a6399 <81c8bbf5b2b5f0c8030fff1716c00849cda8571a, >=f24be42aab37c6d07c05126673138e06223a6399 <c9bebc503881c1391f6c4f820134884adecf1519, >=f24be42aab37c6d07c05126673138e06223a6399 <ee870f72465015327ad96204b0e92450d04870cd, >=f24be42aab37c6d07c05126673138e06223a6399 <f2d60f6ba173cded65081cee690b67802395a479, =4.12, >=f24be42aab37c6d07c05126673138e06223a6399 <1d09697ff22908ae487fc8c4fbde1811732be5234.14.303, 4.19.270, 5.4.229, 5.15.86, 6.0.16, 5.10.163, 6.1.2, 2d7b6580384e6d65419933ddc525bd176095da54, 651e8bc9d0418c20a1989b7c078c64c2a6346fa3, 6a310e8db5409676b4b3e6c1f54dff174e4fd04d, 81c8bbf5b2b5f0c8030fff1716c00849cda8571a, c9bebc503881c1391f6c4f820134884adecf1519, ee870f72465015327ad96204b0e92450d04870cd, f2d60f6ba173cded65081cee690b67802395a479, 1d09697ff22908ae487fc8c4fbde1811732be523
linux-kernel: Kernel>=4.12.0 <4.14.303, >=4.15.0 <4.19.270, >=4.20.0 <5.4.229, >=5.11.0 <5.15.86, >=5.16.0 <6.0.16, >=5.5.0 <5.10.163, >=6.1.0 <6.1.24.14.303, 4.19.270, 5.4.229, 5.15.86, 6.0.16, 5.10.163, 6.1.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50311 severity on Zeptric[![CVE-2022-50311](https://zeptric.io/badge/cve/CVE-2022-50311.svg)](https://zeptric.io/cve/CVE-2022-50311)