Critical COW Fixup Vulnerability in Linux Kernel Affecting Debian Packages

linux Updated 02 Oct 2025

Summary

27/02/2025
N/A
No i
Unrated
Not published

CVE-2024-57976: In the Linux kernel, the following vulnerability has been resolved: btrfs: do proper folio cleanup when cow_file_range() failed [BUG] When testing with COW fixup marked as BUG_ON() (this is involved with the new pin_user... 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 kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It is widely used across various distributions, including Debian. This vulnerability specifically affects the btrfs filesystem, which is known for its advanced features like snapshots and dynamic inode allocation. The vulnerability arises from improper handling of copy-on-write (COW) operations, leading to potential system crashes and data integrity issues.

Vulnerability Detail

The vulnerability, identified as CVE-2024-57976, occurs in the btrfs filesystem within the Linux kernel. It is triggered when the cow_file_range() function fails, leading to a crash due to a BUG_ON() assertion. This issue primarily stems from the error handling process when the kernel encounters an out-of-space condition (-ENOSPC) during a write operation. The improper cleanup of dirty pages can cause the kernel to enter an unstable state, potentially resulting in data loss or system crashes. The vulnerability has existed since the introduction of btrfs and poses a significant risk to systems relying on this filesystem.

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

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it becomes available to mitigate the risks associated with this issue.

Conclusion

CVE-2024-57976 is a critical vulnerability in the Linux kernel's btrfs filesystem that can lead to system instability and data loss. Users are strongly advised to update their systems to the latest kernel version to ensure protection against this issue. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-57976 is a vulnerability in the Linux kernel's btrfs filesystem that can lead to system crashes due to improper handling of copy-on-write operations.

This vulnerability can cause kernel crashes and potential data loss, particularly when the system runs out of space during write operations.

If you are using a version of the Linux kernel that includes the btrfs filesystem, your system may be affected. You can check for vulnerabilities using Vulert.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

While there are no specific workarounds, it is crucial to monitor your system closely and apply the update as soon as possible to mitigate risks.

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