{"id":"CVE-2021-46950","aliases":["CVE-2021-46950"],"related":[],"kind":"vulnerability","state":"published","title":"md/raid1: properly indicate failure when ending a failed write request","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid1: properly indicate failure when ending a failed write request\n\nThis patch addresses a data corruption bug in raid1 arrays using bitmaps.\nWithout this fix, the bitmap bits for the failed I/O end up being cleared.\n\nSince we are in the failure leg of raid1_end_write_request, the request\neither needs to be retried (R1BIO_WriteError) or failed (R1BIO_Degraded).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid1: properly indicate failure when ending a failed write request\n\nThis patch addresses a data corruption bug in raid1 arrays using bitmaps.\nWithout this fix, the bitmap bits for the failed I/O end up being cleared.\n\nSince we are in the failure leg of raid1_end_write_request, the request\neither needs to be retried (R1BIO_WriteError) or failed (R1BIO_Degraded).","source":"cvelist"},{"lang":"es","text":"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).","source":"nvd"}],"published":"2024-02-27T18:40:34.106Z","modified":"2026-06-17T04:15:57.250Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"900c531899f5ee2321bef79e20055787bc73251d","fixed":"12216d0919b64ee2ea5dc7a50e455670f44383d5","status":"affected"},{"type":"git","introduced":"1cd972e0a10760a1fa27d9830d78446c891c23b6","fixed":"a6e17cab00fc5bf85472434c52ac751426257c6f","status":"affected"},{"type":"git","introduced":"eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad","fixed":"6920cef604fa57f9409e3960413e9cc11f5c5a40","status":"affected"},{"type":"git","introduced":"eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad","fixed":"661061a45e32d8b2cc0e306da9f169ad44011382","status":"affected"},{"type":"git","introduced":"eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad","fixed":"59452e551784b7a57a45d971727e9db63b192515","status":"affected"},{"type":"git","introduced":"eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad","fixed":"538244fba59fde17186322776247cd9c05be86dd","status":"affected"},{"type":"git","introduced":"eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad","fixed":"2417b9869b81882ab90fd5ed1081a1cb2d4db1dd","status":"affected"},{"type":"git","version":"a1f4fcb880988a96c0b2d5c3305ffc4e49eca0ed","status":"affected"},{"type":"git","version":"344242d50f468a250bf4b6136934392758412ed8","status":"affected"},{"type":"semver","introduced":"4.14.147","fixed":"4.14.233","status":"affected"},{"type":"semver","introduced":"4.19.77","fixed":"4.19.191","status":"affected"},{"type":"semver","introduced":"5.2.19","fixed":"5.3","status":"affected"},{"type":"semver","introduced":"5.3.4","fixed":"5.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"4.14.233","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.191","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.118","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.36","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.20","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.3","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14.147","fixed":"4.14.233"},{"status":"affected","introduced":"4.19.77","fixed":"4.19.191"},{"status":"affected","introduced":"5.2.19","fixed":"5.3"},{"status":"affected","introduced":"5.3.4","fixed":"5.4.118"},{"status":"affected","introduced":"5.5","fixed":"5.10.36"},{"status":"affected","introduced":"5.11","fixed":"5.11.20"},{"status":"affected","introduced":"5.12","fixed":"5.12.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/12216d0919b64ee2ea5dc7a50e455670f44383d5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6e17cab00fc5bf85472434c52ac751426257c6f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6920cef604fa57f9409e3960413e9cc11f5c5a40","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/661061a45e32d8b2cc0e306da9f169ad44011382","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59452e551784b7a57a45d971727e9db63b192515","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/538244fba59fde17186322776247cd9c05be86dd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2417b9869b81882ab90fd5ed1081a1cb2d4db1dd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-22T16:05:03.732Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-46950","url":"https://www.cve.org/CVERecord?id=CVE-2021-46950","licence":"CVE Terms of Use","modified":"2026-05-23T15:18:44.268Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-46950","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46950","licence":"Public domain","modified":"2026-06-17T04:15:57.250Z"}],"updatedAt":"2026-11-25T22:58:08.582Z","epss":{"score":0.00248,"percentile":0.17224,"date":"2026-12-01T12:00:22.000Z"}}