CVE-2023-53722
md: raid1: fix potential OOB in raid1_remove_disk()
Check your servers for CVE-2023-53722
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53722 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b8321b68d1445f308324517e45fb0a5c2b48e271, before beedf40f73939f248c81802eda08a2a8148ea13e affected from b8321b68d1445f308324517e45fb0a5c2b48e271, before 91fbd4e75cb573f44d2619a9dc2f9ba927040760 affected from b8321b68d1445f308324517e45fb0a5c2b48e271, before 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24 affected from b8321b68d1445f308324517e45fb0a5c2b48e271, before 7993cfc041481a3a9cd4a3858088fc846b8ccaf7 affected from b8321b68d1445f308324517e45fb0a5c2b48e271, before 4f96c0665f9f4cf70130c9757750dc43dc679c82 affected from b8321b68d1445f308324517e45fb0a5c2b48e271, before 4f7d853b4590fc20e90dd50e346c02811a8c5b08 affected from b8321b68d1445f308324517e45fb0a5c2b48e271, before 4bdb92eaf645e312975357adc3c4e9523b6e67f1 affected from b8321b68d1445f308324517e45fb0a5c2b48e271, before 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d
Other versions: unaffected
|
| Linux |
affected 3.3 unaffected before 3.3 unaffected from 4.14.326 up to and including 4.14.* unaffected from 4.19.295 up to and including 4.19.* unaffected from 5.4.257 up to and including 5.4.* unaffected from 5.10.197 up to and including 5.10.* unaffected from 5.15.133 up to and including 5.15.* unaffected from 6.1.55 up to and including 6.1.* unaffected from 6.5.5 up to and including 6.5.* unaffected 6.6 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53722 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53722
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53722
trivy image --scanners vuln IMAGE | grep CVE-2023-53722
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/beedf40f73939f248c81802eda08a2a8148ea13e git.kernel.org
- https://git.kernel.org/stable/c/91fbd4e75cb573f44d2619a9dc2f9ba927040760 git.kernel.org
- https://git.kernel.org/stable/c/25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24 git.kernel.org
- https://git.kernel.org/stable/c/7993cfc041481a3a9cd4a3858088fc846b8ccaf7 git.kernel.org
- https://git.kernel.org/stable/c/4f96c0665f9f4cf70130c9757750dc43dc679c82 git.kernel.org
- https://git.kernel.org/stable/c/4f7d853b4590fc20e90dd50e346c02811a8c5b08 git.kernel.org
- https://git.kernel.org/stable/c/4bdb92eaf645e312975357adc3c4e9523b6e67f1 git.kernel.org
- https://git.kernel.org/stable/c/8b0472b50bcf0f19a5119b00a53b63579c8e1e4d git.kernel.org
Source: the record CVE-2023-53722 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse