CVE-2022-50311

cxl: Fix refcount leak in cxl_calc_capp_routing

published September 15, 2025

CVSS
—
EPSS
0%
Percentile
4.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00160 · 4.8th percentile
Published
2025-09-15T14:46Z
EPSS history
Timeline
  • 15 SEP 14:46Z
    cxl: Fix refcount leak in cxl_calc_capp_routing
    cvelistv5