CVE-2021-46950

HighCVSS 7.8/10Last modified Jun 17, 2026

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).

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

VendorProductVersions
LinuxLinux>= 900c531899f5ee2321bef79e20055787bc73251d, < 12216d0919b64ee2ea5dc7a50e455670f44383d5; >= 1cd972e0a10760a1fa27d9830d78446c891c23b6, < a6e17cab00fc5bf85472434c52ac751426257c6f; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 6920cef604fa57f9409e3960413e9cc11f5c5a40; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 661061a45e32d8b2cc0e306da9f169ad44011382; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 59452e551784b7a57a45d971727e9db63b192515; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 538244fba59fde17186322776247cd9c05be86dd; >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 2417b9869b81882ab90fd5ed1081a1cb2d4db1dd; a1f4fcb880988a96c0b2d5c3305ffc4e49eca0ed; 344242d50f468a250bf4b6136934392758412ed8; >= 4.14.147, < 4.14.233; >= 4.19.77, < 4.19.191; >= 5.2.19, < 5.3; >= 5.3.4, < 5.4
LinuxLinux5.4

References

Timeline

Published
Feb 27, 2024
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-469515.5In the Linux kernel, the following vulnerability has been resolved: tpm: efi: Use local variable for calculating final log size When tpm_rCVE-2021-469527.1In the Linux kernel, the following vulnerability has been resolved: NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds FCVE-2021-469536.7In the Linux kernel, the following vulnerability has been resolved: ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure CVE-2021-469547.1In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_frag: fix stack OOB read while fragmenting IPv4 packets CVE-2021-469557.1In the Linux kernel, the following vulnerability has been resolved: openvswitch: fix stack OOB read while fragmenting IPv4 packets runningCVE-2021-469565.5In the Linux kernel, the following vulnerability has been resolved: virtiofs: fix memory leak in virtio_fs_probe() When accidentally passiCVE-2021-469575.5In the Linux kernel, the following vulnerability has been resolved: riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe CVE-2021-469584.7In the Linux kernel, the following vulnerability has been resolved: btrfs: fix race between transaction aborts and fsyncs leading to use-afCVE-2021-469597.8In the Linux kernel, the following vulnerability has been resolved: spi: Fix use-after-free with devm_spi_alloc_* We can't rely on the conCVE-2021-469605.5In the Linux kernel, the following vulnerability has been resolved: cifs: Return correct error code from smb2_get_enc_key Avoid a warning CVE-2021-469615.5In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3: Do not enable irqs when handling spurious interrups WeCVE-2021-469625.5In the Linux kernel, the following vulnerability has been resolved: mmc: uniphier-sd: Fix a resource leak in the remove function A 'tmio_m