CVE-2024-26718: Vulnerability in linux-libc-dev package - Disable Tasklets

linux Updated 02 Oct 2025

Summary

03/04/2024
No i
Medium
5.5

CVE-2024-26718: In the Linux kernel, the following vulnerability has been resolved: dm-crypt, dm-verity: disable tasklets Tasklets have an inherent problem with memory corruption. 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 against the Linux kernel. It is an essential component for building and linking applications that interact with the kernel. The package is commonly used in Linux distributions, including Debian. However, the linux-libc-dev package is vulnerable to a specific issue related to tasklets.

Vulnerability Detail

The vulnerability (CVE-2024-26718) in the linux-libc-dev package affects the dm-crypt and dm-verity components. Tasklets, a mechanism used in the Linux kernel for deferred execution of code, have a flaw that can lead to memory corruption. The tasklet_action_common function calls tasklet_trylock, followed by the tasklet callback, and then tasklet_unlock. If the tasklet callback frees the structure containing the tasklet or calls code that may free it, tasklet_unlock will write into freed memory. This vulnerability can result in data corruption. Although attempts have been made to fix the issue for dm-crypt, the fix is not sufficient, and data corruption can still occur. Additionally, there is no fix available for dm-verity, which will write into freed memory with every tasklet-processed bio. Atomic workqueues, planned for kernel version 6.9, will address this memory corruption problem. However, an immediate solution is needed for stable kernels. As a temporary fix, this commit proposes disabling tasklets in both dm-crypt and dm-verity. The tasklet support is not removed, as it will be reused when atomic workqueues are implemented.

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. Users are advised to follow the recommended fix provided by the package maintainers.

Conclusion

The linux-libc-dev package is vulnerable to a memory corruption issue related to tasklets in the dm-crypt and dm-verity components. While a complete fix is not available, a temporary solution has been proposed by disabling tasklets in both components. Users are advised to apply the necessary patches or updates provided by the package maintainers to mitigate the vulnerability. 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.

The vulnerability affects the dm-crypt and dm-verity components of the linux-libc-dev package.

The vulnerability can lead to memory corruption and data corruption in systems using the linux-libc-dev package.

No, there is currently no fix available for dm-verity. The proposed fix only addresses the issue in dm-crypt.

The memory corruption problem is planned to be addressed in kernel version 6.9 with the implementation of atomic workqueues.

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