CVE-2022-50025

cxl: Fix a memory leak in an error handling path

No CVSS score yet EPSS 0.20%

Published 18 Jun 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-50025

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-50025 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 a memory leak in an error handling path

A bitmap_zalloc() must be balanced by a corresponding bitmap_free() in the error handling path of afu_allocate_irqs().

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.8% 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 80fa93fce37d3490f4bb0da8a5b239a6745bc744, before c2c7a29f99788e9e5dfe41d16868ea33da7cc235
affected from 80fa93fce37d3490f4bb0da8a5b239a6745bc744, before 6544ff559315498ad6c0a311359ca44987f9ca07
affected from 80fa93fce37d3490f4bb0da8a5b239a6745bc744, before 89d51dc6878c47b6400922fac21b6a33f9d1a588
affected from 80fa93fce37d3490f4bb0da8a5b239a6745bc744, before 695af60af755873399ce01cb97176768828bc1fd
affected from 80fa93fce37d3490f4bb0da8a5b239a6745bc744, before 4be138bcd6d68cec0ce47051b117541061f5141a
affected from 80fa93fce37d3490f4bb0da8a5b239a6745bc744, before addff638c41753639368c252d0c5ba0d8fe9ed97
affected from 80fa93fce37d3490f4bb0da8a5b239a6745bc744, before c2557780ee7818b701681c226fa4cb7c0b171665
affected from 80fa93fce37d3490f4bb0da8a5b239a6745bc744, before 3a15b45b5454da862376b5d69a4967f5c6fa1368
Other versions: unaffected
Linux
affected 3.19
unaffected before 3.19
unaffected from 4.9.326 up to and including 4.9.*
unaffected from 4.14.291 up to and including 4.14.*
unaffected from 4.19.256 up to and including 4.19.*
unaffected from 5.4.211 up to and including 5.4.*
unaffected from 5.10.138 up to and including 5.10.*
unaffected from 5.15.63 up to and including 5.15.*
unaffected from 5.19.4 up to and including 5.19.*
unaffected 6.0 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-50025 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50025

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-50025
trivy image --scanners vuln IMAGE | grep CVE-2022-50025

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-50025 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.