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

Status: published. Published: 2025-06-18. Updated: 2026-11-05.

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

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 80fa93fce37d3490f4bb0da8a5b239a6745bc744; < c2c7a29f99788e9e5dfe41d16868ea33da7cc235 (affected, git); ≥ 80fa93fce37d3490f4bb0da8a5b239a6745bc744; < 6544ff559315498ad6c0a311359ca44987f9ca07 (affected, git); ≥ 80fa93fce37d3490f4bb0da8a5b239a6745bc744; < 89d51dc6878c47b6400922fac21b6a33f9d1a588 (affected, git); ≥ 80fa93fce37d3490f4bb0da8a5b239a6745bc744; < 695af60af755873399ce01cb97176768828bc1fd (affected, git); ≥ 80fa93fce37d3490f4bb0da8a5b239a6745bc744; < 4be138bcd6d68cec0ce47051b117541061f5141a (affected, git); ≥ 80fa93fce37d3490f4bb0da8a5b239a6745bc744; < addff638c41753639368c252d0c5ba0d8fe9ed97 (affected, git); ≥ 80fa93fce37d3490f4bb0da8a5b239a6745bc744; < c2557780ee7818b701681c226fa4cb7c0b171665 (affected, git); ≥ 80fa93fce37d3490f4bb0da8a5b239a6745bc744; < 3a15b45b5454da862376b5d69a4967f5c6fa1368 (affected, git). Source: CNA: Linux
- Linux / Linux: 3.19 (affected); ≥ 0; < 3.19 (unaffected, semver); ≥ 4.9.326; ≤ 4.9.* (unaffected, semver); ≥ 4.14.291; ≤ 4.14.* (unaffected, semver); ≥ 4.19.256; ≤ 4.19.* (unaffected, semver); ≥ 5.4.211; ≤ 5.4.* (unaffected, semver); ≥ 5.10.138; ≤ 5.10.* (unaffected, semver); ≥ 5.15.63; ≤ 5.15.* (unaffected, semver); ≥ 5.19.4; ≤ 5.19.* (unaffected, semver); ≥ 6.0; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.19% as of 2026-11-05; percentile 9.19%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/c2c7a29f99788e9e5dfe41d16868ea33da7cc235 (CNA: Linux)

- https://git.kernel.org/stable/c/6544ff559315498ad6c0a311359ca44987f9ca07 (CNA: Linux)

- https://git.kernel.org/stable/c/89d51dc6878c47b6400922fac21b6a33f9d1a588 (CNA: Linux)

- https://git.kernel.org/stable/c/695af60af755873399ce01cb97176768828bc1fd (CNA: Linux)

- https://git.kernel.org/stable/c/4be138bcd6d68cec0ce47051b117541061f5141a (CNA: Linux)

- https://git.kernel.org/stable/c/addff638c41753639368c252d0c5ba0d8fe9ed97 (CNA: Linux)

- https://git.kernel.org/stable/c/c2557780ee7818b701681c226fa4cb7c0b171665 (CNA: Linux)

- https://git.kernel.org/stable/c/3a15b45b5454da862376b5d69a4967f5c6fa1368 (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2022-50025; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2022-50025; retrieved 2026-11-05; source updated Not reported

Revision: 2bee98f46344ac518b3021eca6c2f08a3a623300fbbd96bc5e37630d63a98346

Canonical: https://y2.dev/cve/CVE-2022-50025

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.