7.8

CVE-2024-42314: btrfs: fix extent map use-after-free when adding pages to compressed bio

Modified
AliasesUBUNTU-CVE-2024-42314DEBIAN-CVE-2024-42314
Published 17-08-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-42314 is a high (CVSS 7.8) Use After Free vulnerability in debian debian_linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 10

Timeline

  1. 17-08-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu93 products
  • linux< 6.8.0-50.51
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1020.22
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ 6a4049102055250256623ab1875fabd89004bff8, < c1cc3326e27b0bd7a2806b40bc48e49afaf951e7 | ≥ 6a4049102055250256623ab1875fabd89004bff8, < c205565e0f2f439f278a4a94ee97b67ef7b56ae8 | ≥ 6a4049102055250256623ab1875fabd89004bff8, < b7859ff398b6b656e1689daa860eb34837b4bb89 | ≥ 6a4049102055250256623ab1875fabd89004bff8, < 8e7860543a94784d744c7ce34b78a2e11beefa5c | 5.16
  • linux_kernel≥ 5.16, < 6.1.108 | ≥ 6.2, < 6.6.44 | ≥ 6.7, < 6.10.3

3 vendors · 97 products

References

15 links
Show all 15 references