CVE-2022-50311
cxl: Fix refcount leak in cxl_calc_capp_routing
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Timeline
ID reserved
By Linux
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected f24be42aab37c6d07c05126673138e06223a6399 – < c9bebc503881c1391f6c4f820134884adecf1519
- affected f24be42aab37c6d07c05126673138e06223a6399 – < ee870f72465015327ad96204b0e92450d04870cd
- affected f24be42aab37c6d07c05126673138e06223a6399 – < f2d60f6ba173cded65081cee690b67802395a479
- affected f24be42aab37c6d07c05126673138e06223a6399 – < 81c8bbf5b2b5f0c8030fff1716c00849cda8571a
- affected f24be42aab37c6d07c05126673138e06223a6399 – < 6a310e8db5409676b4b3e6c1f54dff174e4fd04d
- affected f24be42aab37c6d07c05126673138e06223a6399 – < 651e8bc9d0418c20a1989b7c078c64c2a6346fa3
- affected f24be42aab37c6d07c05126673138e06223a6399 – < 2d7b6580384e6d65419933ddc525bd176095da54
- affected f24be42aab37c6d07c05126673138e06223a6399 – < 1d09697ff22908ae487fc8c4fbde1811732be523
- affected 4.12
- unaffected < 4.12
- unaffected 4.14.303 – ≤ 4.14.*
- unaffected 4.19.270 – ≤ 4.19.*
- unaffected 5.4.229 – ≤ 5.4.*
- unaffected 5.10.163 – ≤ 5.10.*
- unaffected 5.15.86 – ≤ 5.15.*
- unaffected 6.0.16 – ≤ 6.0.*
- unaffected 6.1.2 – ≤ 6.1.*
- unaffected 6.2 – ≤ *
References (8)
- https://git.kernel.org/stable/c/c9bebc503881c1391f6c4f820134884adecf1519 (opens in a new tab)
- https://git.kernel.org/stable/c/ee870f72465015327ad96204b0e92450d04870cd (opens in a new tab)
- https://git.kernel.org/stable/c/f2d60f6ba173cded65081cee690b67802395a479 (opens in a new tab)
- https://git.kernel.org/stable/c/81c8bbf5b2b5f0c8030fff1716c00849cda8571a (opens in a new tab)
- https://git.kernel.org/stable/c/6a310e8db5409676b4b3e6c1f54dff174e4fd04d (opens in a new tab)
- https://git.kernel.org/stable/c/651e8bc9d0418c20a1989b7c078c64c2a6346fa3 (opens in a new tab)
- https://git.kernel.org/stable/c/2d7b6580384e6d65419933ddc525bd176095da54 (opens in a new tab)
- https://git.kernel.org/stable/c/1d09697ff22908ae487fc8c4fbde1811732be523 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50311)Record last updated .