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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-10-22T13:23:53.329Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< beedf40f73939f248c81802eda08a2a8148ea13e; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 91fbd4e75cb573f44d2619a9dc2f9ba927040760; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 7993cfc041481a3a9cd4a3858088fc846b8ccaf7; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4f96c0665f9f4cf70130c9757750dc43dc679c82; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4f7d853b4590fc20e90dd50e346c02811a8c5b08; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4bdb92eaf645e312975357adc3c4e9523b6e67f1; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d
- Anyone running Linux 3.3

## 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.

## Affected and fixed versions

- Linux: \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< beedf40f73939f248c81802eda08a2a8148ea13e; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 91fbd4e75cb573f44d2619a9dc2f9ba927040760; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 7993cfc041481a3a9cd4a3858088fc846b8ccaf7; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4f96c0665f9f4cf70130c9757750dc43dc679c82; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4f7d853b4590fc20e90dd50e346c02811a8c5b08; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4bdb92eaf645e312975357adc3c4e9523b6e67f1; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- Upgrade Linux to 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53722. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53722.md
Affected: Linux >= b8321b68d1445f308324517e45fb0a5c2b48e271, < beedf40f73939f248c81802eda08a2a8148ea13e; >= b8321b68d1445f308324517e45fb0a5c2b48e271, < 91fbd4e75cb573f44d2619a9dc2f9ba927040760; >= b8321b68d1445f308324517e45fb0a5c2b48e271, < 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24; >= b8321b68d1445f308324517…
Fixed in: Linux 91fbd4e75cb573f44d2619a9dc2f9ba927040760, Linux 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24, Linux 7993cfc041481a3a9cd4a3858088fc846b8ccaf7, Linux 4f96c0665f9f4cf70130c9757750dc43dc679c82, Linux 4f7d853b4590fc20e90dd50e346c02811a8c5b08, Linux 4bdb92eaf645e312975357adc3c4e9523b6e67f1, Linux 8b047…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53722 being exploited?

There is no confirmed exploitation: CVE-2023-53722 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53722?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53722?

Linux \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< beedf40f73939f248c81802eda08a2a8148ea13e; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 91fbd4e75cb573f44d2619a9dc2f9ba927040760; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 7993cfc041481a3a9cd4a3858088fc846b8ccaf7; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4f96c0665f9f4cf70130c9757750dc43dc679c82; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4f7d853b4590fc20e90dd50e346c02811a8c5b08; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 4bdb92eaf645e312975357adc3c4e9523b6e67f1; \>= b8321b68d1445f308324517e45fb0a5c2b48e271, \< 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d; Linux 3.3.

### Is there a fix for CVE-2023-53722?

Yes. Fixed in Linux 91fbd4e75cb573f44d2619a9dc2f9ba927040760, Linux 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24, Linux 7993cfc041481a3a9cd4a3858088fc846b8ccaf7, Linux 4f96c0665f9f4cf70130c9757750dc43dc679c82, Linux 4f7d853b4590fc20e90dd50e346c02811a8c5b08, Linux 4bdb92eaf645e312975357adc3c4e9523b6e67f1, Linux 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d. Upgrade Linux to 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d or later.

### How do I check if I'm affected by CVE-2023-53722?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53722>

HTML: <https://flawdb.com/CVE-2023-53722> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53722>
