CVE-2022-50311

cxl: Fix refcount leak in cxl_calc_capp_routing

State
Published
Severity
Not scored
Published
Sep 15, 2025
Updated
May 11, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f24be42aab37c6d07c05126673138e06223a6399 to before c9bebc503881c1391f6c4f820134884adecf1519Affected
  • f24be42aab37c6d07c05126673138e06223a6399 to before ee870f72465015327ad96204b0e92450d04870cdAffected
  • f24be42aab37c6d07c05126673138e06223a6399 to before f2d60f6ba173cded65081cee690b67802395a479Affected
  • f24be42aab37c6d07c05126673138e06223a6399 to before 81c8bbf5b2b5f0c8030fff1716c00849cda8571aAffected
  • f24be42aab37c6d07c05126673138e06223a6399 to before 6a310e8db5409676b4b3e6c1f54dff174e4fd04dAffected
  • f24be42aab37c6d07c05126673138e06223a6399 to before 651e8bc9d0418c20a1989b7c078c64c2a6346fa3Affected
  • f24be42aab37c6d07c05126673138e06223a6399 to before 2d7b6580384e6d65419933ddc525bd176095da54Affected
  • f24be42aab37c6d07c05126673138e06223a6399 to before 1d09697ff22908ae487fc8c4fbde1811732be523Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.