CVE-2024-42314

HIGH EPSS 13.3%
Published Aug 17, 20241y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
Published Aug 17, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
13.3% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 4

VendorProductVersionRange
debiandebian_linux11.0any
linuxlinux_kernel*≥5.16  –  <6.1.108
linuxlinux_kernel*≥6.2  –  <6.6.44
linuxlinux_kernel*≥6.7  –  <6.10.3

References 5

  • git.kernel.org https://git.kernel.org/stable/c/8e7860543a94784d744c7ce34b78a2e11beefa5c
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b7859ff398b6b656e1689daa860eb34837b4bb89
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c1cc3326e27b0bd7a2806b40bc48e49afaf951e7
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c205565e0f2f439f278a4a94ee97b67ef7b56ae8
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
    Mailing ListThird Party Advisory

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/8e7860543a94784d744c7ce34b78a2e11beefa5c
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b7859ff398b6b656e1689daa860eb34837b4bb89
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c1cc3326e27b0bd7a2806b40bc48e49afaf951e7
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c205565e0f2f439f278a4a94ee97b67ef7b56ae8
    Patch