CVE-2022-50311Published Sep 15, 2025 · Sep 15Updated Nov 7
cxl: Fix refcount leak in cxl_calc_capp_routing
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f24be42aab37c6d07c05126673138e06223a6399 · < 651e8bc9d0418c20a1989b7c078c64c2a6346fa3| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's cxl_calc_capp_routing function leaks a node reference on an error path. The input does not establish whether an attacker can trigger the error path or specify access, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.