CVE-2024-42314 Details
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix extent map use-after-free when adding pages to compressed bio At add_ra_bio_pages() we are accessing the extent map to calculate 'add_size' after we dropped our reference on the extent map, resulting in a use-after-free. Fix this by computing 'add_size' before dropping our extent map reference.
A use-after-free vulnerability has been identified in the Linux kernel's Btrfs file system when handling compressed block I/O. This issue arises in the 'add_ra_bio_pages()' function, where the extent map is accessed to determine the size of data to be added, after the reference to the extent map has already been released. This mismanagement can lead to memory being freed while it is still in use, potentially allowing for arbitrary code execution or other unintended behavior. The vulnerability affects Linux kernel versions 6.1.0 through 6.1.119.
Users can upgrade to Linux kernel version 6.1.119-1~deb11u1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/8e7860543a94784d744c7ce34b78a2e11beefa5c | kernel.org | Patch |
| https://git.kernel.org/stable/c/b7859ff398b6b656e1689daa860eb34837b4bb89 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c1cc3326e27b0bd7a2806b40bc48e49afaf951e7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c205565e0f2f439f278a4a94ee97b67ef7b56ae8 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| debian debian linux | 11.0 |
CPE
Remediation
| |
| linux linux kernel | >= 5.16, < 6.1.108 >= 6.2, < 6.6.44 >= 6.7, < 6.10.3 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 27, 2026 | Modified Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 4, 2024 | CVE Modified | kernel.org |
| Aug 22, 2024 | Initial Analysis | [email protected] |
| Aug 17, 2024 | New CVE Received | kernel.org |