Vulnerability · Published Feb 27, 2024 · Assigned by Linux

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

High 7.8

In plain English

A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 83.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.10.38-1DEBIAN-CVE-2021-46950
Debian:13linux5.10.38-1DEBIAN-CVE-2021-46950
Debian:14linux5.10.38-1DEBIAN-CVE-2021-46950
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2021-46950
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2021-46950
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2021-46950

Affected products (as reported)

VendorProductVersions
Linux Linux 900c531899f5ee2321bef79e20055787bc73251d – before 12216d0919b64ee2ea5dc7a50e455670f44383d51cd972e0a10760a1fa27d9830d78446c891c23b6 – before a6e17cab00fc5bf85472434c52ac751426257c6feeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad – before 6920cef604fa57f9409e3960413e9cc11f5c5a40eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad – before 661061a45e32d8b2cc0e306da9f169ad44011382eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad – before 59452e551784b7a57a45d971727e9db63b192515eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad – before 538244fba59fde17186322776247cd9c05be86ddeeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad – before 2417b9869b81882ab90fd5ed1081a1cb2d4db1dda1f4fcb880988a96c0b2d5c3305ffc4e49eca0ed
Linux Linux 5.4

References