# CVE-2021-46950: md/raid1: properly indicate failure when ending a failed write request

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-02-27T18:40:34.106Z
- Modified: 2026-06-17T04:15:57.250Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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).

(As written by CVE List.)

## Affected

- 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; 344242d50f468a250bf4b6136934392758412ed8; from 4.14.147 before 4.14.233; from 4.19.77 before 4.19.191; from 5.2.19 before 5.3; and 2 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.*; from 5.12.3 up to 5.12.*; from 5.13 up to *)
- 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

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/12216d0919b64ee2ea5dc7a50e455670f44383d5> (patch)
- <https://git.kernel.org/stable/c/a6e17cab00fc5bf85472434c52ac751426257c6f> (patch)
- <https://git.kernel.org/stable/c/6920cef604fa57f9409e3960413e9cc11f5c5a40> (patch)
- <https://git.kernel.org/stable/c/661061a45e32d8b2cc0e306da9f169ad44011382> (patch)
- <https://git.kernel.org/stable/c/59452e551784b7a57a45d971727e9db63b192515> (patch)
- <https://git.kernel.org/stable/c/538244fba59fde17186322776247cd9c05be86dd> (patch)
- <https://git.kernel.org/stable/c/2417b9869b81882ab90fd5ed1081a1cb2d4db1dd> (patch)

## Sources

- CVE List: [CVE-2021-46950](https://www.cve.org/CVERecord?id=CVE-2021-46950), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2021-46950](https://nvd.nist.gov/vuln/detail/CVE-2021-46950), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46950 · Whole record: https://cve.day/CVE-2021-46950.json · Rebuilt by cve.day 2026-11-25T22:58:08.582Z
