2084AI Security Observatory

CVE

CVE-2024-42314

CVE-2024-42314HIGH 7.8EPSS 13%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.7, < 6.10.3Fixed in 6.10.3
  • ≥ 6.2, < 6.6.44Fixed in 6.6.44
  • ≥ 5.16, < 6.1.108Fixed in 6.1.108

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.