# CVE-2023-53722: md: raid1: fix potential OOB in raid1_remove_disk()

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-10-22T13:23:53.329Z
- Modified: 2026-10-28T19:10:00.193Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

md: raid1: fix potential OOB in raid1_remove_disk()

If rddev->raid_disk is greater than mddev->raid_disks, there will be
an out-of-bounds in raid1_remove_disk(). We have already found
similar reports as follows:

1) commit d17f744e883b ("md-raid10: fix KASAN warning")
2) commit 1ebc2cec0b7d ("dm raid: fix KASAN warning in raid5_remove_disk")

Fix this bug by checking whether the "number" variable is
valid.

(As written by CVE List.)

## Affected

- Linux Linux: from b8321b68d1445f308324517e45fb0a5c2b48e271 before beedf40f73939f248c81802eda08a2a8148ea13e; from b8321b68d1445f308324517e45fb0a5c2b48e271 before 91fbd4e75cb573f44d2619a9dc2f9ba927040760; from b8321b68d1445f308324517e45fb0a5c2b48e271 before 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24; from b8321b68d1445f308324517e45fb0a5c2b48e271 before 7993cfc041481a3a9cd4a3858088fc846b8ccaf7; from b8321b68d1445f308324517e45fb0a5c2b48e271 before 4f96c0665f9f4cf70130c9757750dc43dc679c82; from b8321b68d1445f308324517e45fb0a5c2b48e271 before 4f7d853b4590fc20e90dd50e346c02811a8c5b08; from b8321b68d1445f308324517e45fb0a5c2b48e271 before 4bdb92eaf645e312975357adc3c4e9523b6e67f1; from b8321b68d1445f308324517e45fb0a5c2b48e271 before 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d; 3.3 (not affected: before 3.3; from 4.14.326 up to 4.14.*; from 4.19.295 up to 4.19.*; from 5.4.257 up to 5.4.*; from 5.10.197 up to 5.10.*; from 5.15.133 up to 5.15.*; from 6.1.55 up to 6.1.*; from 6.5.5 up to 6.5.*; from 6.6 up to *)

## References

- <https://git.kernel.org/stable/c/beedf40f73939f248c81802eda08a2a8148ea13e>
- <https://git.kernel.org/stable/c/91fbd4e75cb573f44d2619a9dc2f9ba927040760>
- <https://git.kernel.org/stable/c/25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24>
- <https://git.kernel.org/stable/c/7993cfc041481a3a9cd4a3858088fc846b8ccaf7>
- <https://git.kernel.org/stable/c/4f96c0665f9f4cf70130c9757750dc43dc679c82>
- <https://git.kernel.org/stable/c/4f7d853b4590fc20e90dd50e346c02811a8c5b08>
- <https://git.kernel.org/stable/c/4bdb92eaf645e312975357adc3c4e9523b6e67f1>
- <https://git.kernel.org/stable/c/8b0472b50bcf0f19a5119b00a53b63579c8e1e4d>

## Sources

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

---

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