7.8high
md/raid1: properly indicate failure when ending a failed write request
- Severity
- 7.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 900c531899f5ee2321bef79e20055787bc73251d before 12216d0919b64ee2ea5dc7a50e455670f44383d5, from 1cd972e0a10760a1fa27d9830d78446c891c23b6 before a6e17cab00fc5bf85472434c52ac751426257c6f, from eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad before 6920cef604fa57f9409e3960413e9cc11f5c5a40, from eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad before 661061a45e32d8b2cc0e306da9f169ad44011382, from eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad before 59452e551784b7a57a45d971727e9db63b192515, from eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad before 538244fba59fde17186322776247cd9c05be86dd, from eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad before 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd, a1f4fcb880988a96c0b2d5c3305ffc4e49eca0ed and 6 more Not affected: before 5.4, from 4.14.233 up to 4.14.*, from 4.19.191 up to 4.19.*, from 5.4.118 up to 5.4.*, from 5.10.36 up to 5.10.*, from 5.11.20 up to 5.11.* | CVE List |
| linux linux_kernel | from 4.14.147 before 4.14.233, from 4.19.77 before 4.19.191, from 5.2.19 before 5.3, from 5.3.4 before 5.4.118, from 5.5 before 5.10.36, from 5.11 before 5.11.20, from 5.12 before 5.12.3 | NVD |
All scores
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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).
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: md/raid1: indica correctamente el error al finalizar una solicitud de escritura fallida. Este parche soluciona un error de corrupción de datos en matrices raid1 que utilizan mapas de bits. Sin esta solución, los bits del mapa de bits de la E/S fallida terminan borrándose. Dado que estamos en el tramo fallido de raid1_end_write_request, es necesario volver a intentar la solicitud (R1BIO_WriteError) o fallar (R1BIO_Degraded).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-46950 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2021-46950 changed 2026-06-17 | Public domain |