CVE-2022-50025
JSON

5.5medium

cxl: Fix a memory leak in an error handling path

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 80fa93fce37d3490f4bb0da8a5b239a6745bc744 before c2c7a29f99788e9e5dfe41d16868ea33da7cc235, from 80fa93fce37d3490f4bb0da8a5b239a6745bc744 before 6544ff559315498ad6c0a311359ca44987f9ca07, from 80fa93fce37d3490f4bb0da8a5b239a6745bc744 before 89d51dc6878c47b6400922fac21b6a33f9d1a588, from 80fa93fce37d3490f4bb0da8a5b239a6745bc744 before 695af60af755873399ce01cb97176768828bc1fd, from 80fa93fce37d3490f4bb0da8a5b239a6745bc744 before 4be138bcd6d68cec0ce47051b117541061f5141a, from 80fa93fce37d3490f4bb0da8a5b239a6745bc744 before addff638c41753639368c252d0c5ba0d8fe9ed97, from 80fa93fce37d3490f4bb0da8a5b239a6745bc744 before c2557780ee7818b701681c226fa4cb7c0b171665, from 80fa93fce37d3490f4bb0da8a5b239a6745bc744 before 3a15b45b5454da862376b5d69a4967f5c6fa1368 and 1 more
Not affected: before 3.19, from 4.9.326 up to 4.9.*, from 4.14.291 up to 4.14.*, from 4.19.256 up to 4.19.*, from 5.4.211 up to 5.4.*, from 5.10.138 up to 5.10.*
CVE List
linux linux_kernelfrom 3.19 before 4.9.326, from 4.10 before 4.14.291, from 4.15 before 4.19.256, from 4.20 before 5.4.211, from 5.5 before 5.10.138, from 5.11 before 5.15.63, from 5.16 before 5.19.4NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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().

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cxl: Se corrige una pérdida de memoria en una ruta de manejo de errores. Un bitmap_zalloc() debe equilibrarse con un bitmap_free() correspondiente en la ruta de manejo de errores de afu_allocate_irqs().

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50025 changed 2026-11-05CVE Terms of Use
NVDCVE-2022-50025 changed 2026-11-05Public domain