# CVE-2023-54294: md/raid10: fix memleak of md thread

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-12-30T12:23:31.778Z
- Modified: 2026-06-17T06:47:10.397Z
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 43a521238aca0e24d50add1db125a61bda2a3527 before abf4d67060c8f63caff096e5fca1564bfef1e5d4; from 43a521238aca0e24d50add1db125a61bda2a3527 before 3725b35fc0e5e4eea0434ef625f3d92f3059d080; from 43a521238aca0e24d50add1db125a61bda2a3527 before 2a65555f7e0f4a05b663879908a991e6d9f81e51; from 43a521238aca0e24d50add1db125a61bda2a3527 before d6cfcf98b824591cffa4c1e9889fb4fa619359fe; from 43a521238aca0e24d50add1db125a61bda2a3527 before 36ba0c7b86acd9c2ea80a273204d52c21c955471; from 43a521238aca0e24d50add1db125a61bda2a3527 before 5d763f708b0f918fb87799e33c25113ae6081216; from 43a521238aca0e24d50add1db125a61bda2a3527 before ec473e82e10d39a02eb59b0b95e546119a3bdb79; from 43a521238aca0e24d50add1db125a61bda2a3527 before f0ddb83da3cbbf8a1f9087a642c448ff52ee9abd; 4.16 (not affected: before 4.16; from 4.19.283 up to 4.19.*; from 5.4.243 up to 5.4.*; from 5.10.180 up to 5.10.*; from 5.15.111 up to 5.15.*; from 6.1.28 up to 6.1.*; from 6.2.15 up to 6.2.*; from 6.3.2 up to 6.3.*; from 6.4 up to *)

## References

- <https://git.kernel.org/stable/c/abf4d67060c8f63caff096e5fca1564bfef1e5d4>
- <https://git.kernel.org/stable/c/3725b35fc0e5e4eea0434ef625f3d92f3059d080>
- <https://git.kernel.org/stable/c/2a65555f7e0f4a05b663879908a991e6d9f81e51>
- <https://git.kernel.org/stable/c/d6cfcf98b824591cffa4c1e9889fb4fa619359fe>
- <https://git.kernel.org/stable/c/36ba0c7b86acd9c2ea80a273204d52c21c955471>
- <https://git.kernel.org/stable/c/5d763f708b0f918fb87799e33c25113ae6081216>
- <https://git.kernel.org/stable/c/ec473e82e10d39a02eb59b0b95e546119a3bdb79>
- <https://git.kernel.org/stable/c/f0ddb83da3cbbf8a1f9087a642c448ff52ee9abd>

## Sources

- CVE List: [CVE-2023-54294](https://www.cve.org/CVERecord?id=CVE-2023-54294), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54294](https://nvd.nist.gov/vuln/detail/CVE-2023-54294), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54294 · Whole record: https://cve.day/CVE-2023-54294.json · Rebuilt by cve.day 2026-11-25T22:58:35.263Z
