CVE-2023-53722
md: raid1: fix potential OOB in raid1_remove_disk()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.3
References 8
git.kernel.org
- stable/c/beedf40f73939f248c81802eda08a2a8148ea13e
- stable/c/91fbd4e75cb573f44d2619a9dc2f9ba927040760
- stable/c/25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24
- stable/c/7993cfc041481a3a9cd4a3858088fc846b8ccaf7
- stable/c/4f96c0665f9f4cf70130c9757750dc43dc679c82
- stable/c/4f7d853b4590fc20e90dd50e346c02811a8c5b08
- stable/c/4bdb92eaf645e312975357adc3c4e9523b6e67f1
- stable/c/8b0472b50bcf0f19a5119b00a53b63579c8e1e4d