# CVE-2026-45888: md/raid1: fix memory leak in raid1_run()

Status: published. Published: 2026-05-27. Updated: 2026-11-06.

In the Linux kernel, the following vulnerability has been resolved:

md/raid1: fix memory leak in raid1_run()

raid1_run() calls setup_conf() which registers a thread via
md_register_thread(). If raid1_set_limits() fails, the previously
registered thread is not unregistered, resulting in a memory leak
of the md_thread structure and the thread resource itself.

Add md_unregister_thread() to the error path to properly cleanup
the thread, which aligns with the error handling logic of other paths
in this function.

Compile tested only. Issue found using a prototype static analysis tool
and code review.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 97894f7d3c2966164516a8a5109674763d3a55e1; < c94fd6e8a71efd047ff36930e840f3c25679e136 (affected, git); ≥ 97894f7d3c2966164516a8a5109674763d3a55e1; < ec10e3dc93994b87adf7c759a4639fe34013989a (affected, git); ≥ 97894f7d3c2966164516a8a5109674763d3a55e1; < b37588b0282a2b3cdda9db1d53712745ce66dea0 (affected, git); ≥ 97894f7d3c2966164516a8a5109674763d3a55e1; < 6abc7d5dcf0ee0f85e16e41c87fbd06231f28753 (affected, git). Source: CNA: Linux
- Linux / Linux: 6.9 (affected); ≥ 0; < 6.9 (unaffected, semver); ≥ 6.12.75; ≤ 6.12.* (unaffected, semver); ≥ 6.18.14; ≤ 6.18.* (unaffected, semver); ≥ 6.19.4; ≤ 6.19.* (unaffected, semver); ≥ 7.0; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.16% as of 2026-11-06; percentile 5.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/c94fd6e8a71efd047ff36930e840f3c25679e136 (CNA: Linux)

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

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

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

## Provenance

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

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

Revision: 0344ba79bdb2702845208b292fa4ca7b9a17dc537c316b9a4796b0df0ba8b0be

Canonical: https://y2.dev/cve/CVE-2026-45888

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