Improper Failure Indication in md/raid1 in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000106: md/raid1: properly indicate failure when ending a failed write request. Affects Kernel versions >= eeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad, < 59452e551784b7a57a45d971727e9db63b192515. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing hardware resources, process scheduling, and file systems. The md/raid1 module in the Linux Kernel is responsible for implementing RAID 1 (redundant array of independent disks) functionality, which involves mirroring data across multiple disks for redundancy and fault tolerance.

Vulnerability Detail

The vulnerability identified as GSD-2021-1000106 in the md/raid1 module of the Linux Kernel involves an improper indication of failure when ending a failed write request. This flaw can potentially lead to data corruption or loss in RAID 1 configurations. The vulnerability was introduced in version v5.4 of the Linux Kernel and was fixed in version v5.11.20. When a write request fails, the md/raid1 module fails to properly indicate the failure, which can result in subsequent operations assuming the write was successful. This can lead to inconsistent data across mirrored disks and compromise the integrity of the RAID 1 array.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can disable RAID 1 functionality or switch to an alternative RAID configuration until the Linux Kernel is updated with the fix. Disabling RAID 1 can be achieved by removing or commenting out the relevant configuration entries in the system's mdadm configuration file. However, this workaround should be considered temporary, and it is strongly recommended to apply the official fix as soon as possible.

Conclusion

The vulnerability in the md/raid1 module of the Linux Kernel can lead to data corruption or loss in RAID 1 configurations. It is crucial to update the Linux Kernel to version v5.11.20 or later to mitigate this vulnerability. Users can also apply temporary measures such as disabling RAID 1 functionality until the fix is applied. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can result in data corruption or loss in RAID 1 configurations, compromising the integrity of mirrored disks.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the playground will analyze it for vulnerabilities.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate the risk.

As a temporary measure, you can disable RAID 1 functionality or switch to an alternative RAID configuration until the Linux Kernel is updated with the fix. However, it is strongly recommended to apply the official fix as soon as possible.

You can find more information about this vulnerability in the GSD-2021-1000106 entry of the GSD database maintained by the Cloud Security Alliance. The link to the entry is available in the references section of this report.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback