Race Condition Vulnerability in Linux Kernel: tmpfs Dquot Handling

linux Updated 02 Oct 2025

Summary

01/05/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-27058: In the Linux kernel, the following vulnerability has been resolved: tmpfs: fix race on handling dquot rbtree A syzkaller reproducer found a race while attempting to remove dquot information from the rb tree. Affects linux versions < 6.7.12-1. Fixed in 6.7.12-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 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 kernel is the core component of many operating systems, including Debian. It manages system resources and hardware interactions, providing essential services for applications. The kernel's tmpfs (temporary file system) allows for efficient storage of files in memory. However, a recent vulnerability has been identified in the handling of disk quotas (dquot) within tmpfs, which can lead to race conditions and unexpected behavior.

Vulnerability Detail

In the Linux kernel, a race condition was discovered in the handling of dquot information in the rb tree. This issue arises when multiple threads attempt to access and modify the root node of the rb tree concurrently without proper synchronization. Specifically, if one thread is in the process of releasing a dquot while another thread tries to acquire it, the second thread may fail to find the node due to the root node changing during the search. This can lead to warnings and potential instability in the system, as the integrity of the dquot management is compromised.

How To Fix

Minimum fixed version

6.7.12-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 provided for this vulnerability. The best course of action is to apply the patch by updating the kernel to the fixed version.

Conclusion

The race condition vulnerability in the Linux kernel's tmpfs dquot handling poses a significant risk to system stability and integrity. Users are advised to update their kernel to the patched version 6.7.12-1 to protect against potential issues. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software ecosystem.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A race condition occurs when two or more threads or processes access shared data and try to change it at the same time. If not properly synchronized, this can lead to unexpected behavior or system crashes.

This vulnerability can lead to warnings and instability in the system when managing disk quotas, potentially causing applications that rely on tmpfs to malfunction.

If you are using Debian 13 or 14 with a Linux kernel version prior to 6.7.12-1, your system is vulnerable. You can check your kernel version by running 'uname -r' in the terminal.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.7.12-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