CVE-2024-26792: linux-libc-dev - Double Free of Anonymous Device After Snapshot Creation Failure
Summary
CVE-2024-26792: In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free of anonymous device after snapshot creation failure When creating a snapshot we may do a double free of an anonymous device in ca... 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
linux-libc-dev is a package in the Linux kernel that provides the C library headers for the kernel. These headers are necessary for compiling programs that interface with the kernel. The package is widely used and is a critical component for building and running applications on Linux systems. However, a vulnerability has been discovered in the package that could lead to a double free of an anonymous device after a snapshot creation failure.
Vulnerability Detail
The vulnerability in linux-libc-dev arises when creating a snapshot. If there is an error committing the transaction during snapshot creation, a double free of an anonymous device may occur. This can result in freeing an anonymous device number that was allocated by another subsystem in the kernel or another btrfs filesystem. The issue occurs due to a flaw in the code path that handles the allocation and freeing of anonymous device numbers. An attacker could potentially exploit this vulnerability to cause a denial of service or execute arbitrary code with kernel privileges.
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 known workaround for this vulnerability. It is crucial to apply the provided fix by updating the linux-libc-dev package to the patched version.
Conclusion
The linux-libc-dev package is vulnerable to a double free issue when creating a snapshot. This vulnerability could lead to a denial of service or arbitrary code execution. It is crucial to update the package to version 6.1.90-1 or later to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
linux-libc-dev is a package in the Linux kernel that provides the C library headers for the kernel. These headers are necessary for compiling programs that interface with the kernel.
The vulnerability could allow an attacker to cause a denial of service or execute arbitrary code with kernel privileges.
To fix this vulnerability, update the linux-libc-dev package to version 6.1.90-1 or later.
No, there is no known workaround. It is necessary to apply the provided fix by updating the linux-libc-dev package.
Users can obtain the updated linux-libc-dev package from the official Debian repositories or through the package manager of their Linux distribution.
Related vulnerabilities
Recent vulnerabilities recorded for linux.