CVE-2022-50311

cxl: Fix refcount leak in cxl_calc_capp_routing

No CVSS score yet EPSS 0.17%

Published 15 Sep 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-50311

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50311 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.23% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f24be42aab37c6d07c05126673138e06223a6399, before c9bebc503881c1391f6c4f820134884adecf1519
affected from f24be42aab37c6d07c05126673138e06223a6399, before ee870f72465015327ad96204b0e92450d04870cd
affected from f24be42aab37c6d07c05126673138e06223a6399, before f2d60f6ba173cded65081cee690b67802395a479
affected from f24be42aab37c6d07c05126673138e06223a6399, before 81c8bbf5b2b5f0c8030fff1716c00849cda8571a
affected from f24be42aab37c6d07c05126673138e06223a6399, before 6a310e8db5409676b4b3e6c1f54dff174e4fd04d
affected from f24be42aab37c6d07c05126673138e06223a6399, before 651e8bc9d0418c20a1989b7c078c64c2a6346fa3
affected from f24be42aab37c6d07c05126673138e06223a6399, before 2d7b6580384e6d65419933ddc525bd176095da54
affected from f24be42aab37c6d07c05126673138e06223a6399, before 1d09697ff22908ae487fc8c4fbde1811732be523
Other versions: unaffected
Linux
affected 4.12
unaffected before 4.12
unaffected from 4.14.303 up to and including 4.14.*
unaffected from 4.19.270 up to and including 4.19.*
unaffected from 5.4.229 up to and including 5.4.*
unaffected from 5.10.163 up to and including 5.10.*
unaffected from 5.15.86 up to and including 5.15.*
unaffected from 6.0.16 up to and including 6.0.*
unaffected from 6.1.2 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50311 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50311

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50311
trivy image --scanners vuln IMAGE | grep CVE-2022-50311

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50311 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.