CVE-2022-50025
published 2025-06-18CVE-2022-50025: 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…
PriorityP414medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.16%
5.7th percentile
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
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 80fa93fce37d3490f4bb0da8a5b239a6745bc744 < c2c7a29f99788e9e5dfe41d16868ea33da7cc235 | c2c7a29f99788e9e5dfe41d16868ea33da7cc235 |
| linux | linux | >= 80fa93fce37d3490f4bb0da8a5b239a6745bc744 < 6544ff559315498ad6c0a311359ca44987f9ca07 | 6544ff559315498ad6c0a311359ca44987f9ca07 |
| linux | linux | >= 80fa93fce37d3490f4bb0da8a5b239a6745bc744 < 89d51dc6878c47b6400922fac21b6a33f9d1a588 | 89d51dc6878c47b6400922fac21b6a33f9d1a588 |
| linux | linux | >= 80fa93fce37d3490f4bb0da8a5b239a6745bc744 < 695af60af755873399ce01cb97176768828bc1fd | 695af60af755873399ce01cb97176768828bc1fd |
| linux | linux | >= 80fa93fce37d3490f4bb0da8a5b239a6745bc744 < 4be138bcd6d68cec0ce47051b117541061f5141a | 4be138bcd6d68cec0ce47051b117541061f5141a |
| linux | linux | >= 80fa93fce37d3490f4bb0da8a5b239a6745bc744 < addff638c41753639368c252d0c5ba0d8fe9ed97 | addff638c41753639368c252d0c5ba0d8fe9ed97 |
| linux | linux | >= 80fa93fce37d3490f4bb0da8a5b239a6745bc744 < c2557780ee7818b701681c226fa4cb7c0b171665 | c2557780ee7818b701681c226fa4cb7c0b171665 |
| linux | linux | >= 80fa93fce37d3490f4bb0da8a5b239a6745bc744 < 3a15b45b5454da862376b5d69a4967f5c6fa1368 | 3a15b45b5454da862376b5d69a4967f5c6fa1368 |
| linux | linux_kernel | >= 0 < 5.10.140-1 | 5.10.140-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 3.19 < 4.9.326 | 4.9.326 |
| linux | linux_kernel | >= 4.10 < 4.14.291 | 4.14.291 |
| linux | linux_kernel | >= 4.15 < 4.19.256 | 4.19.256 |
| linux | linux_kernel | >= 4.20 < 5.4.211 | 5.4.211 |
| linux | linux_kernel | >= 5.11 < 5.15.63 | 5.15.63 |
| linux | linux_kernel | >= 5.16 < 5.19.4 | 5.19.4 |
| linux | linux_kernel | >= 5.5 < 5.10.138 | 5.10.138 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: cxl: Fix a memory leak in an error handling path
vendor_redhat·2025-06-18·CVSS 5.5
CVE-2022-50025 [MEDIUM] CWE-772 kernel: cxl: Fix a memory leak in an error handling path
kernel: cxl: Fix a memory leak in an error handling path
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().
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel (Red Hat Enterprise Linux 8) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 8) - Fix deferred
Package: kernel (Red Hat Enterprise Linux 9) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 9) - Fix deferred
Debian
CVE-2022-50025: linux - In the Linux kernel, the following vulnerability has been resolved: cxl: Fix a ...
vendor_debian·2022·CVSS 5.5
CVE-2022-50025 [MEDIUM] CVE-2022-50025: linux - In the Linux kernel, the following vulnerability has been resolved: cxl: Fix a ...
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().
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved (fixed in 5.10.140-1)
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
GHSA
GHSA-h6g6-qp55-m96q: 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 balan
ghsa_unreviewed·2025-06-18
CVE-2022-50025 [MEDIUM] CWE-401 GHSA-h6g6-qp55-m96q: 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 balan
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().
OSV
CVE-2022-50025: 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 balance
osv·2025-06-18·CVSS 5.5
CVE-2022-50025 [MEDIUM] CVE-2022-50025: 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 balance
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().
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/3a15b45b5454da862376b5d69a4967f5c6fa1368https://git.kernel.org/stable/c/4be138bcd6d68cec0ce47051b117541061f5141ahttps://git.kernel.org/stable/c/6544ff559315498ad6c0a311359ca44987f9ca07https://git.kernel.org/stable/c/695af60af755873399ce01cb97176768828bc1fdhttps://git.kernel.org/stable/c/89d51dc6878c47b6400922fac21b6a33f9d1a588https://git.kernel.org/stable/c/addff638c41753639368c252d0c5ba0d8fe9ed97https://git.kernel.org/stable/c/c2557780ee7818b701681c226fa4cb7c0b171665https://git.kernel.org/stable/c/c2c7a29f99788e9e5dfe41d16868ea33da7cc235
2025-06-18
Published