Bug 2395293 (CVE-2022-50311) - CVE-2022-50311 kernel: cxl: Fix refcount leak in cxl_calc_capp_routing
Summary: CVE-2022-50311 kernel: cxl: Fix refcount leak in cxl_calc_capp_routing
Keywords:
Status: NEW
Alias: CVE-2022-50311
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-15 15:05 UTC by OSIDB Bzimport
Modified: 2025-09-15 23:44 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-15 15:05:51 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.