CVE-2026-45888

MEDIUM

md/raid1: fix memory leak in raid1_run()

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 5.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (14)
linux/Kernel 6.13.0 - 6.18.14linux
linux/Kernel 6.19.0 - 6.19.4linux
linux/Kernel 6.9.0 - 6.12.75linux
Linux/Linux < 6.9
Linux/Linux 6.12.75 - 6.12.*
Linux/Linux 6.18.14 - 6.18.*
Linux/Linux 6.19.4 - 6.19.*
Linux/Linux 6.9
Linux/Linux 7.0
Linux/Linux 97894f7d3c2966164516a8a5109674763d3a55e1 - 6abc7d5dcf0ee0f85e16e41c87fbd06231f28753
... and 4 more
Published May 27, 2026
Tracked Since May 27, 2026