CVE-2023-53722

md: raid1: fix potential OOB in raid1_remove_disk()

State
Published
Severity
Not scored
Published
Oct 22, 2025
Updated
May 11, 2026
Reserved
Oct 22, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b8321b68d1445f308324517e45fb0a5c2b48e271 to before beedf40f73939f248c81802eda08a2a8148ea13eAffected
  • b8321b68d1445f308324517e45fb0a5c2b48e271 to before 91fbd4e75cb573f44d2619a9dc2f9ba927040760Affected
  • b8321b68d1445f308324517e45fb0a5c2b48e271 to before 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24Affected
  • b8321b68d1445f308324517e45fb0a5c2b48e271 to before 7993cfc041481a3a9cd4a3858088fc846b8ccaf7Affected
  • b8321b68d1445f308324517e45fb0a5c2b48e271 to before 4f96c0665f9f4cf70130c9757750dc43dc679c82Affected
  • b8321b68d1445f308324517e45fb0a5c2b48e271 to before 4f7d853b4590fc20e90dd50e346c02811a8c5b08Affected
  • b8321b68d1445f308324517e45fb0a5c2b48e271 to before 4bdb92eaf645e312975357adc3c4e9523b6e67f1Affected
  • b8321b68d1445f308324517e45fb0a5c2b48e271 to before 8b0472b50bcf0f19a5119b00a53b63579c8e1e4dAffected
LinuxLinux
  • 3.3Affected
  • before 3.3Not affected
  • 4.14.326 through 4.14.*Not affected
  • 4.19.295 through 4.19.*Not affected
  • 5.4.257 through 5.4.*Not affected
  • 5.10.197 through 5.10.*Not affected
  • 5.15.133 through 5.15.*Not affected
  • 6.1.55 through 6.1.*Not affected
  • 6.5.5 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.