CVE-2024-26726: Vulnerability in linux-libc-dev package - btrfs: don't drop extent_map for free space inode on write error
Summary
CVE-2024-26726: In the Linux kernel, the following vulnerability has been resolved: btrfs: don't drop extent_map for free space inode on write error While running the CI for an unrelated change I hit the following panic with generic/648... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling C programs that use the Linux kernel interfaces. It is an essential component for building and running applications on Linux systems. The package is widely used and plays a crucial role in the functioning of various software applications.
Vulnerability Detail
The vulnerability (CVE-2024-26726) in the linux-libc-dev package affects the btrfs (B-Tree File System) module. It arises when attempting to write the free space cache, resulting in a panic and potential system instability. The issue occurs due to a failure to write out the free space cache, leading to a dropped extent mapping. This can result in a bogus extent map and subsequent errors when accessing the affected range. The vulnerability has a CVSS score of 5.5, indicating a medium severity level.
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 provided for this vulnerability. However, users can mitigate the risk by ensuring they have the latest version of the linux-libc-dev package installed and promptly applying any security updates released by the package maintainers.
Conclusion
The vulnerability in the linux-libc-dev package, specifically affecting the btrfs module, can result in a panic and system instability. It is crucial for users to update to the latest version of the package to mitigate the risk and ensure the stability and security of their Linux systems. For further assistance and support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
The linux-libc-dev package is a development package that provides header files and libraries for compiling C programs that use Linux kernel interfaces.
btrfs is a modern file system for Linux that supports advanced features such as snapshots, checksums, and RAID-like functionality.
The vulnerability can lead to a panic and system instability, potentially causing disruption of services and data loss.
To fix this vulnerability, update the linux-libc-dev package to version 6.1.90-1 or later.
While no specific workaround is provided, keeping the linux-libc-dev package up to date can help mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for linux.