CVE-2022-50311: cxl: Fix refcount leak in cxl_calc_capp_routing
Vulnerability summary
CVE-2022-50311 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.1% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 15-09-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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 metrics
2 scores · 2 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu119 products
- linux< 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-69.76
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1153.166 | < 5.4.0-1097.105 | < 5.15.0-1033.37
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f24be42aab37c6d07c05126673138e06223a6399, < c9bebc503881c1391f6c4f820134884adecf1519 | ≥ f24be42aab37c6d07c05126673138e06223a6399, < ee870f72465015327ad96204b0e92450d04870cd | ≥ f24be42aab37c6d07c05126673138e06223a6399, < f2d60f6ba173cded65081cee690b67802395a479 | ≥ f24be42aab37c6d07c05126673138e06223a6399, < 81c8bbf5b2b5f0c8030fff1716c00849cda8571a | ≥ f24be42aab37c6d07c05126673138e06223a6399, < 6a310e8db5409676b4b3e6c1f54dff174e4fd04d | ≥ f24be42aab37c6d07c05126673138e06223a6399, < 651e8bc9d0418c20a1989b7c078c64c2a6346fa3 | ≥ f24be42aab37c6d07c05126673138e06223a6399, < 2d7b6580384e6d65419933ddc525bd176095da54 | ≥ f24be42aab37c6d07c05126673138e06223a6399, < 1d09697ff22908ae487fc8c4fbde1811732be523 | 4.12
- linux_kernel≥ 4.12, < 4.14.303 | ≥ 4.15, < 4.19.270 | ≥ 4.20, < 5.4.229 | ≥ 5.5, < 5.10.163 | ≥ 5.11, < 5.15.86 | ≥ 5.16, < 6.0.16 | ≥ 6.1, < 6.1.2
2 vendors · 121 products