CVE-2024-26757: Vulnerability in linux-libc-dev package - md: Don't ignore read-only array in md_check_recovery()

linux Updated 02 Oct 2025

Summary

03/04/2024
No i
Unrated
Not published

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 5.10.103-1 – 6.9.9-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling C programs that use the Linux kernel interfaces. It is an essential component for building and linking applications on Debian-based systems. This package is vulnerable to a flaw in the md_check_recovery() function of the kernel's md subsystem. The vulnerability allows an attacker to trigger a hang condition in certain scenarios, potentially leading to a denial of service (DoS) attack.

Vulnerability Detail

The vulnerability arises from a race condition in the handling of read-only arrays by the md_check_recovery() function. Under normal circumstances, if the array is not read-write, md_check_recovery() would not register a new sync_thread. However, after a specific commit, a hang condition can be triggered if the following steps occur: 1) the array is made read-write, 2) a new sync_thread is registered concurrently, 3) the array is set back to read-only, 4) the array is stopped, and 5) the sync_thread cannot be unregistered, resulting in a hang. This vulnerability can be exploited by an attacker with local access to the system to cause a DoS condition.

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

There is no known workaround for this vulnerability at this time.

Conclusion

The linux-libc-dev package is vulnerable to a flaw in the md_check_recovery() function, which can be exploited to cause a denial of service (DoS) condition. It is recommended to update the package to version 6.1.90-1 or later to mitigate this vulnerability. If you require further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package provides the necessary header files and libraries for compiling C programs that use the Linux kernel interfaces. It is an essential component for building and linking applications on Debian-based systems.

md_check_recovery() is a function in the Linux kernel's md subsystem that is responsible for checking if recovery is needed for a given array. It handles various aspects of recovery and synchronization for software RAID arrays.

A race condition is a type of software vulnerability that occurs when the behavior of a program depends on the relative timing of events. In this case, the vulnerability arises from a race condition in the handling of read-only arrays by the md_check_recovery() function.

A denial of service (DoS) attack is an attack that aims to disrupt the normal functioning of a system or network, rendering it unavailable to users. In the context of this vulnerability, an attacker can trigger a hang condition, potentially leading to a DoS condition.

No, this vulnerability requires local access to the system in order to exploit it.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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