md/raid1: properly indicate failure when ending a failed write request
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad · < 538244fba59fde17186322776247cd9c05be86dd| No fix yet |
| Linux Linux |
|
|
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).
From the CVE record · Linux
Linux kernel RAID1 arrays using bitmaps can clear bitmap bits for failed write I/O, causing data corruption. The input does not describe an attacker or specify access, authentication, or user-interaction conditions.
Engineers running Linux kernel RAID1 arrays with bitmaps should check their systems; affected versions are not specified.