CVE-2026-45888 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's RAID1 component. The issue arises in the 'raid1_run()' function, which registers a thread using 'md_register_thread()'. If 'raid1_set_limits()' fails, the thread is not unregistered, leading to a memory leak of the 'md_thread' structure and the associated thread resources. The vulnerability has been addressed by adding 'md_unregister_thread()' to the error handling path, ensuring proper cleanup of the thread, similar to the error management in other parts of the function.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/6abc7d5dcf0ee0f85e16e41c87fbd06231f28753 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b37588b0282a2b3cdda9db1d53712745ce66dea0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c94fd6e8a71efd047ff36930e840f3c25679e136 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ec10e3dc93994b87adf7c759a4639fe34013989a | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.9, < 6.12.75 >= 6.13, < 6.18.14 >= 6.19, < 6.19.4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 25, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 27, 2026 | New CVE Received | kernel.org |