Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2021-46950

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 900c531899f5ee2321bef79e20055787bc73251d to < 12216d0919b64ee2ea5dc7a50e455670f44383d5affected
  • 1cd972e0a10760a1fa27d9830d78446c891c23b6 to < a6e17cab00fc5bf85472434c52ac751426257c6faffected
  • eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad to < 6920cef604fa57f9409e3960413e9cc11f5c5a40affected
  • eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad to < 661061a45e32d8b2cc0e306da9f169ad44011382affected
  • eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad to < 59452e551784b7a57a45d971727e9db63b192515affected
  • eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad to < 538244fba59fde17186322776247cd9c05be86ddaffected
  • eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad to < 2417b9869b81882ab90fd5ed1081a1cb2d4db1ddaffected
  • a1f4fcb880988a96c0b2d5c3305ffc4e49eca0edaffected
  • 344242d50f468a250bf4b6136934392758412ed8affected
  • 4.14.147 to < 4.14.233affected
  • 4.19.77 to < 4.19.191affected
  • 5.2.19 to < 5.3affected
  • 5.3.4 to < 5.4affected

Linux Linux

Default version status: affected

  • 5.4affected
  • 0 to < 5.4unaffected
  • 4.14.233 to ≤ 4.14.*unaffected
  • 4.19.191 to ≤ 4.19.*unaffected
  • 5.4.118 to ≤ 5.4.*unaffected
  • 5.10.36 to ≤ 5.10.*unaffected
  • 5.11.20 to ≤ 5.11.*unaffected
  • 5.12.3 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References