CVE-2021-46950

md/raid1: properly indicate failure when ending a failed write request

HIGH
7.8
CVSS Score
Published: February 27, 2024 at 06:40 PM UTC
Updated: June 17, 2026 at 04:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.2.19v ≥ 5.3.44.14.147 ≤ v < 4.14.2334.19.77 ≤ v < 4.19.1915.11 ≤ v < 5.11.205.12 ≤ v < 5.12.35.2.19 ≤ v < 5.35.3.4 ≤ v < 5.45.3.4 ≤ v < 5.4.1185.4 ≤ v < 5.10.365.4 ≤ v < 5.11.205.4 ≤ v < 5.12.35.4 ≤ v < 5.135.4 ≤ v < 5.4.1185.5 ≤ v < 5.10.361cd972e0a10760a1fa27d9830d78446c891c23b6344242d50f468a250bf4b6136934392758412ed84.14.1474.19.775.2.195.3.45.4900c531899f5ee2321bef79e20055787bc73251da1f4fcb880988a96c0b2d5c3305ffc4e49eca0edeeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad
Vendor states this is fixed in 12216d0919b64ee2ea5dc7a50e455670f44383d5 (fixed)
Vendor states this is fixed in 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd (fixed)
Vendor states this is fixed in 538244fba59fde17186322776247cd9c05be86dd (fixed)
Vendor states this is fixed in 59452e551784b7a57a45d971727e9db63b192515 (fixed)
Vendor states this is fixed in 661061a45e32d8b2cc0e306da9f169ad44011382 (fixed)
Vendor states this is fixed in 6920cef604fa57f9409e3960413e9cc11f5c5a40 (fixed)
Vendor states this is fixed in a6e17cab00fc5bf85472434c52ac751426257c6f (fixed)
Vendor states this is fixed in 4.14.233 (unaffected)
Vendor states this is fixed in 4.19.191 (unaffected)
Vendor states this is fixed in 5.10.36 (unaffected)
Vendor states this is fixed in 5.11.20 (unaffected)
Vendor states this is fixed in 5.12.3 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Affected range stops below 5.3, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.118 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/12216d0919b64ee2ea5dc7a50e455670f44383d5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2417b9869b81882ab90fd5ed1081a1cb2d4db1dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/538244fba59fde17186322776247cd9c05be86dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/59452e551784b7a57a45d971727e9db63b192515
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/661061a45e32d8b2cc0e306da9f169ad44011382
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6920cef604fa57f9409e3960413e9cc11f5c5a40
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6e17cab00fc5bf85472434c52ac751426257c6f

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card