CVE-2026-45888
Awaiting Analysis Awaiting Analysis - Queue
Memory Leak in Linux Kernel RAID1 md/raid1

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-27
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Mitigation Strategies

The vulnerability is fixed by adding md_unregister_thread() to the error path in the raid1_run() function to properly clean up the thread and prevent memory leaks.

To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.

Executive Summary

This vulnerability is a memory leak in the Linux kernel's RAID1 implementation. Specifically, in the function raid1_run(), a thread is registered via md_register_thread(). If the function raid1_set_limits() fails afterward, the previously registered thread is not properly unregistered, causing a memory leak of the md_thread structure and the thread resource.

The fix involves adding a call to md_unregister_thread() in the error handling path to ensure the thread is cleaned up properly, aligning with the error handling logic used elsewhere in the function.

Impact Analysis

This vulnerability can lead to a memory leak in systems using the Linux kernel's RAID1 functionality. Over time, the leaked memory and thread resources could accumulate, potentially degrading system performance or stability.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-45888. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart