CVE-2026-45888

md/raid1: fix memory leak in raid1_run()

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:16 PM UTC
Updated: June 27, 2026 at 11:41 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.9 ≤ v < 6.12.756.9 ≤ v < 6.18.146.9 ≤ v < 6.19.46.9 ≤ v < 7.06.997894f7d3c2966164516a8a5109674763d3a55e1
Vendor states this is fixed in 6abc7d5dcf0ee0f85e16e41c87fbd06231f28753 (fixed)
Vendor states this is fixed in b37588b0282a2b3cdda9db1d53712745ce66dea0 (fixed)
Vendor states this is fixed in c94fd6e8a71efd047ff36930e840f3c25679e136 (fixed)
Vendor states this is fixed in ec10e3dc93994b87adf7c759a4639fe34013989a (fixed)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card