CVE-2024-26775: Vulnerability in linux-libc-dev package - potential deadlock at set_capacity

linux Updated 02 Oct 2025

Summary

03/04/2024
No i
Medium
5.5

CVE-2024-26775: In the Linux kernel, the following vulnerability has been resolved: aoe: avoid potential deadlock at set_capacity Move set_capacity() outside of the section procected by (&d->lock). 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 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-libc-dev package is a development package that provides the necessary header files and libraries for compiling C programs against the Linux kernel. It is an essential component for building and running applications on Linux systems. The package contains various functions and definitions that allow user-space programs to interact with the kernel. However, a vulnerability has been discovered in the package that could lead to a potential deadlock at set_capacity.

Vulnerability Detail

The vulnerability in the linux-libc-dev package arises from a potential deadlock scenario during the execution of certain functions. Specifically, when the set_capacity() function is called, it can result in a deadlock if certain locks are held by other processes. This can occur when lock dependencies are not properly managed, leading to a situation where multiple processes are waiting for each other's locks, resulting in a deadlock. In this case, the deadlock can be triggered by the aoeblk_gdalloc() function trying to acquire a lock held by the zram_add()->set_capacity() function. This vulnerability can potentially disrupt the normal operation of the system and cause it to become unresponsive.

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 specific workaround mentioned for this vulnerability. The recommended approach is to apply the patch provided by the package maintainer or distribution. However, users can mitigate the risk by avoiding scenarios that trigger the vulnerable code. This may involve refraining from using certain functions or features that are known to trigger the deadlock. It is important to note that workarounds may not provide a complete solution and should be considered temporary measures until the patch can be applied.

Conclusion

The linux-libc-dev package is vulnerable to a potential deadlock at set_capacity, which can disrupt the normal operation of the system. To mitigate this vulnerability, users should update the package to a version that includes the patch for the deadlock issue. It is important to stay informed about security vulnerabilities and promptly apply patches to ensure the security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling C programs against the Linux kernel.

This vulnerability can lead to a potential deadlock in the system, causing it to become unresponsive and disrupting normal operation.

To fix this vulnerability, users should update the linux-libc-dev package to a version that includes the patch for the deadlock issue.

While there are no specific workarounds mentioned, users can mitigate the risk by avoiding scenarios that trigger the vulnerable code.

More information about this vulnerability can be found in the references provided.

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