CVE-2022-50311: cxl: Fix refcount leak in cxl_calc_capp_routing
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.
Security readout for executives and security teams
Plain-English summary
CVE-2022-50311 is a Linux kernel issue in CXL-related code where a device-tree node reference is not released on an error path. The documented problem is a reference-count leak, which can waste kernel resources. The public sources do not provide CVSS, CWE, business impact detail, or evidence of active exploitation.
Executive priority
Do not treat this as an emergency based on current evidence. Assign normal kernel patch-management priority, with faster handling for systems where vendor advisories confirm exposure or where CXL-related functionality is in use.
Technical view
The flaw is in cxl_calc_capp_routing. of_get_next_parent() returns a node pointer with an incremented reference count, but the error path missed of_node_put(). The Linux stable fixes add the missing release. The CVE record lists Linux kernel versions and stable commit references, but downstream vendor backports must be checked.
Likely exposure
Exposure is likely limited to Linux systems running affected kernel builds with the relevant CXL code path present. The source bundle lists Linux kernel as affected with version markers including 4.12 through 6.2, but package-level exposure depends on distribution backports.
Exploitation context
The source bundle states KEV is false and provides no public exploit status. It describes a kernel reference-count leak, not a remote exploit path. Treat active exploitation as unconfirmed unless vendor, KEV, or other cited sources later state otherwise.
Researcher notes
Evidence is narrow: the public description only documents a missing of_node_put() on an error path. There is no CVSS vector, CWE, exploit report, or detailed impact statement in the provided bundle. Analysis should stay tied to kernel branch and vendor backport status.
Mitigation direction
Identify Linux kernel packages used across production and appliances.
Check distribution advisories for backports of the referenced stable fixes.
Update to a vendor-supported kernel containing the fix.
Prioritize CXL-capable or PowerPC/CAPI-related systems if present.
Track this as kernel maintenance unless vendor guidance raises severity.
Validation and detection
Compare deployed kernel versions against vendor advisory status.
Confirm whether the referenced stable commits are included or backported.
Review asset inventory for systems using CXL-related kernel functionality.
Monitor vendor security channels for CVSS, impact, or exploitability updates.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-50311 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
9Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Sep 15, 2025, 14:46 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.