CVE-2021-46950
md/raid1: properly indicate failure when ending a failed write request
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 900c531899f5ee2321bef79e20055787bc73251d, < 12216d0919b64ee2ea5dc7a50e455670f44383d5; >= 1cd972e0a10760a1fa27d9830d78446c891c23b6, < a6e17cab00fc5bf85472434c52ac751426257c6f; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 6920cef604fa57f9409e3960413e9cc11f5c5a40; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 661061a45e32d8b2cc0e306da9f169ad44011382; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 59452e551784b7a57a45d971727e9db63b192515; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 538244fba59fde17186322776247cd9c05be86dd; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd; a1f4fcb880988a96c0b2d5c3305ffc4e49eca0ed; 344242d50f468a250bf4b6136934392758412ed8; >= 4.14.147, < 4.14.233; …
- Anyone running Linux 5.4
Vulnerability facts
- Affected
- Linux >= 900c531899f5ee2321bef79e20055787bc73251d, < 12216d0919b64ee2ea5dc7a50e455670f44383d5; >= 1cd972e0a10760a1fa27d9830d78446c891c23b6, < a6e17cab00fc5bf85472434c52ac751426257c6f; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 6920cef604fa57f9409e3960413e9cc11f5c5a40; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 661061a45e32d8b2cc0e306da9f169ad44011382; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 59452e551784b7a57a45d971727e9db63b192515; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 538244fba59fde17186322776247cd9c05be86dd; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd; a1f4fcb880988a96c0b2d5c3305ffc4e49eca0ed; 344242d50f468a250bf4b6136934392758412ed8; >= 4.14.147, < 4.14.233; …; Linux 5.4
- Fixed in
- Linux 12216d0919b64ee2ea5dc7a50e455670f44383d5, Linux 6920cef604fa57f9409e3960413e9cc11f5c5a40, Linux 661061a45e32d8b2cc0e306da9f169ad44011382, Linux 59452e551784b7a57a45d971727e9db63b192515, Linux 538244fba59fde17186322776247cd9c05be86dd, Linux 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd, Linux 4.14.233
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 900c531899f5ee2321bef79e20055787bc73251d, < 12216d0919b64ee2ea5dc7a50e455670f44383d5; >= 1cd972e0a10760a1fa27d9830d78446c891c23b6, < a6e17cab00fc5bf85472434c52ac751426257c6f; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 6920cef604fa57f9409e3960413e9cc11f5c5a40; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 661061a45e32d8b2cc0e306da9f169ad44011382; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 59452e551784b7a57a45d971727e9db63b192515; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 538244fba59fde17186322776247cd9c05be86dd; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd; a1f4fcb880988a96c0b2d5c3305ffc4e49eca0ed; 344242d50f468a250bf4b6136934392758412ed8; >= 4.14.147, < 4.14.233; … | — | cvelist |
| Linux | 5.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-46950. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-46950.md Affected: Linux >= 900c531899f5ee2321bef79e20055787bc73251d, < 12216d0919b64ee2ea5dc7a50e455670f44383d5; >= 1cd972e0a10760a1fa27d9830d78446c891c23b6, < a6e17cab00fc5bf85472434c52ac751426257c6f; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 6920cef604fa57f9409e3960413e9cc11f5c5a40; >= eeba6809d8d58908b5ed1b5… Fixed in: Linux 12216d0919b64ee2ea5dc7a50e455670f44383d5, Linux 6920cef604fa57f9409e3960413e9cc11f5c5a40, Linux 661061a45e32d8b2cc0e306da9f169ad44011382, Linux 59452e551784b7a57a45d971727e9db63b192515, Linux 538244fba59fde17186322776247cd9c05be86dd, Linux 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd, Linux 4.14.… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/12216d0919b64ee2ea5dc7a50e455670f44383d5
- https://git.kernel.org/stable/c/a6e17cab00fc5bf85472434c52ac751426257c6f
- https://git.kernel.org/stable/c/6920cef604fa57f9409e3960413e9cc11f5c5a40
- https://git.kernel.org/stable/c/661061a45e32d8b2cc0e306da9f169ad44011382
- https://git.kernel.org/stable/c/59452e551784b7a57a45d971727e9db63b192515
- https://git.kernel.org/stable/c/538244fba59fde17186322776247cd9c05be86dd
- https://git.kernel.org/stable/c/2417b9869b81882ab90fd5ed1081a1cb2d4db1dd
FAQ
Is CVE-2021-46950 being exploited?
There is no confirmed exploitation: CVE-2021-46950 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-46950?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-46950?
Linux >= 900c531899f5ee2321bef79e20055787bc73251d, < 12216d0919b64ee2ea5dc7a50e455670f44383d5; >= 1cd972e0a10760a1fa27d9830d78446c891c23b6, < a6e17cab00fc5bf85472434c52ac751426257c6f; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 6920cef604fa57f9409e3960413e9cc11f5c5a40; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 661061a45e32d8b2cc0e306da9f169ad44011382; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 59452e551784b7a57a45d971727e9db63b192515; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 538244fba59fde17186322776247cd9c05be86dd; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd; a1f4fcb880988a96c0b2d5c3305ffc4e49eca0ed; 344242d50f468a250bf4b6136934392758412ed8; >= 4.14.147, < 4.14.233; …; Linux 5.4.
Is there a fix for CVE-2021-46950?
Yes. Fixed in Linux 12216d0919b64ee2ea5dc7a50e455670f44383d5, Linux 6920cef604fa57f9409e3960413e9cc11f5c5a40, Linux 661061a45e32d8b2cc0e306da9f169ad44011382, Linux 59452e551784b7a57a45d971727e9db63b192515, Linux 538244fba59fde17186322776247cd9c05be86dd, Linux 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd, Linux 4.14.233. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-46950?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.