# CVE-2023-53722: md: raid1: fix potential OOB in raid1\_remove\_disk()

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-10-22 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53722, DEBIAN-CVE-2023-53722
- Record: https://cvemate.com/vulnerability/CVE-2023-53722 · JSON: https://cvemate.com/vulnerability/CVE-2023-53722/json

## Description

```text
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.
```

## Signals

- CVSS: none published
- EPSS: 0.21%, percentile 11.722%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 126)

- debian linux (Debian): \< 6.1.55-1 \| \< 6.5.6-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-169.187 \| \< 5.15.0-94.104
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1116.126 \| \< 5.15.0-1053.58
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1053.58~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1116.126~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1116.126+fips1 \| \< 5.15.0-1053.58+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1121.128 \| \< 5.15.0-1056.64
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2023-53722>
- <https://www.cve.org/CVERecord?id=CVE-2023-53722>
- <https://git.kernel.org/linus/8b0472b50bcf0f19a5119b00a53b63579c8e1e4d>
- <https://security-tracker.debian.org/tracker/CVE-2023-53722>

---

Data as of 2026-12-06T04:40:40.847Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
