Critical Vulnerability in Linux Kernel: Btrfs Qgroup Inherit Structure Check Bypass

linux Updated 02 Oct 2025

Summary

30/07/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-42111: In the Linux kernel, the following vulnerability has been resolved: btrfs: always do the basic checks for btrfs_qgroup_inherit structure [BUG] Syzbot reports the following regression detected by KASAN: BUG: KASAN: slab-o... Affects linux versions < 6.9.9-1. Fixed in 6.9.9-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 kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to applications. It supports various file systems, including Btrfs, which offers advanced features like snapshots and volume management. However, a recent vulnerability has been identified in the Btrfs file system related to the qgroup inherit structure, which could lead to serious security issues if exploited.

Vulnerability Detail

In the Linux kernel, a vulnerability has been discovered in the Btrfs file system concerning the btrfs_qgroup_inherit structure. This issue arises from a commit that inadvertently skips essential checks when the quota group (qgroup) is disabled. As a result, if a race condition occurs during the enabling or disabling of qgroups, an invalid btrfs_qgroup_inherit structure may be processed, leading to a slab-out-of-bounds read error. This vulnerability could potentially allow attackers to exploit the system, causing crashes or unauthorized access to sensitive data.

How To Fix

Minimum fixed version

6.9.9-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 available for this vulnerability. The best course of action is to apply the patch as soon as it is available.

Conclusion

The identified vulnerability in the Linux kernel's Btrfs file system poses significant risks, including potential memory corruption and exploitation. Users are strongly advised to update their systems to the patched version to mitigate these risks. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves a bypass of critical checks in the Btrfs file system, which can lead to memory corruption and potential exploitation.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.

Exploitation of this vulnerability could lead to system crashes, unauthorized access to data, or other security breaches.

Yes, if exploited, this vulnerability could potentially lead to data corruption or loss, especially in systems using Btrfs for file management.

It is recommended to regularly check for updates to your Linux kernel and other software packages to ensure you are protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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