Critical Vulnerability in Linux Package: md_check_recovery() Read-Only Array Issue

linux Updated 02 Oct 2025

Summary

03/04/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-26757: In the Linux kernel, the following vulnerability has been resolved: md: Don't ignore read-only array in md_check_recovery() Usually if the array is not read-write, md_check_recovery() won't register new sync_thread in th... Affects linux versions < 6.7.7-1. Fixed in 6.7.7-1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux package is the core component of the operating system, responsible for managing hardware and system resources. It provides essential functionalities such as process management, memory management, and device control. This vulnerability specifically affects the md (multiple devices) subsystem, which is responsible for managing RAID (Redundant Array of Independent Disks) configurations. The issue arises when the read-only status of an array is improperly handled, potentially leading to system hangs during recovery operations.

Vulnerability Detail

In the Linux kernel, a vulnerability exists in the md_check_recovery() function, which fails to properly handle read-only arrays. When an array is set to read-only, the function should not register a new sync_thread. However, due to a flaw introduced by commit f52f5c71f3d4, a race condition can occur where the array is manipulated concurrently, leading to a situation where the sync_thread cannot be unregistered, causing the system to hang. This vulnerability can lead to significant downtime and data integrity issues if not addressed.

How To Fix

Minimum fixed version

6.7.7-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it becomes available to mitigate the risk.

Conclusion

The vulnerability in the Linux kernel regarding the md_check_recovery() function poses a significant risk to systems utilizing RAID configurations. It is essential to update to the patched version to prevent potential system hangs and data loss. Users are encouraged to utilize tools like Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to system hangs during RAID recovery operations, potentially causing downtime and data loss.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

The vulnerability affects Linux versions in Debian 13 and 14 prior to the patched version 6.7.7-1.

Yes, if the vulnerability is exploited, it could lead to data integrity issues and potential data loss during RAID operations.

While there are no specific workarounds, it is crucial to monitor your system closely and apply the patch as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.7.7-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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