CVE-2021-46950 md/raid1: properly indicate failure when ending a failed write request
A bug in the Linux kernel RAID1 driver causes data corruption by incorrectly clearing bitmap bits during failed write requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-46950?
CVE-2021-46950 is a high-severity vulnerability in Linux kernel, published on 27 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
md/raid1: properly indicate failure when ending a failed write request
This patch addresses a data corruption bug in raid1 arrays using bitmaps. Without this fix, the bitmap bits for the failed I/O end up being cleared.
Since we are in the failure leg of raid1_end_write_request, the request either needs to be retried (R1BIO_WriteError) or failed (R1BIO_Degraded).
Which versions are affected by CVE-2021-46950?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-46950?
Apply the vendor's patch.
Is CVE-2021-46950 being exploited?
There is no known exploitation of CVE-2021-46950 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-46950, GHSA-fvxf-3hr7-h5gc, UBUNTU-CVE-2021-46950.