# CVE-2022-50025: cxl: Fix a memory leak in an error handling path

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T11:01:28.816Z
- Modified: 2026-11-05T20:17:21.093Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 3.19 (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.*; from 5.15.63 up to 5.15.*; from 5.19.4 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 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.4

## References

- <https://git.kernel.org/stable/c/c2c7a29f99788e9e5dfe41d16868ea33da7cc235> (patch)
- <https://git.kernel.org/stable/c/6544ff559315498ad6c0a311359ca44987f9ca07> (patch)
- <https://git.kernel.org/stable/c/89d51dc6878c47b6400922fac21b6a33f9d1a588> (patch)
- <https://git.kernel.org/stable/c/695af60af755873399ce01cb97176768828bc1fd> (patch)
- <https://git.kernel.org/stable/c/4be138bcd6d68cec0ce47051b117541061f5141a> (patch)
- <https://git.kernel.org/stable/c/addff638c41753639368c252d0c5ba0d8fe9ed97> (patch)
- <https://git.kernel.org/stable/c/c2557780ee7818b701681c226fa4cb7c0b171665> (patch)
- <https://git.kernel.org/stable/c/3a15b45b5454da862376b5d69a4967f5c6fa1368> (patch)

## Sources

- CVE List: [CVE-2022-50025](https://www.cve.org/CVERecord?id=CVE-2022-50025), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50025](https://nvd.nist.gov/vuln/detail/CVE-2022-50025), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50025 · Whole record: https://cve.day/CVE-2022-50025.json · Rebuilt by cve.day 2026-11-25T22:58:21.016Z
