md/raid10: fix memleak of md thread
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 43a521238aca0e24d50add1db125a61bda2a3527 · < 5d763f708b0f918fb87799e33c25113ae6081216| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
md/raid10: fix memleak of md thread
In raid10_run(), if setup_conf() succeed and raid10_run() failed before setting 'mddev->thread', then in the error path 'conf->thread' is not freed.
Fix the problem by setting 'mddev->thread' right after setup_conf().
From the CVE record · Linux
The Linux kernel's md/raid10 code can leak an md thread if setup_conf() succeeds but raid10_run() fails before setting mddev->thread. The input does not describe how an attacker could trigger this failure or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with md/raid10 should check their versions against the vendor advisory; affected versions are not specified.