CVE-2024-42314btrfs: fix extent map use-after-free when adding pages to compressed bio
- 7.8HighCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 18 days later
· 18 days later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 87% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 6a4049102055250256623ab1875fabd89004bff8 – < c1cc3326e27b0bd7a2806b40bc48e49afaf951e7
- affected 6a4049102055250256623ab1875fabd89004bff8 – < c205565e0f2f439f278a4a94ee97b67ef7b56ae8
- affected 6a4049102055250256623ab1875fabd89004bff8 – < b7859ff398b6b656e1689daa860eb34837b4bb89
- affected 6a4049102055250256623ab1875fabd89004bff8 – < 8e7860543a94784d744c7ce34b78a2e11beefa5c
- affected 5.16
- unaffected < 5.16
- unaffected 6.1.108 – ≤ 6.1.*
- unaffected 6.6.44 – ≤ 6.6.*
- unaffected 6.10.3 – ≤ 6.10.*
- unaffected 6.11 – ≤ *
References
References5
- https://git.kernel.org/stable/c/c1cc3326e27b0bd7a2806b40bc48e49afaf951e7 (opens in a new tab)
- https://git.kernel.org/stable/c/c205565e0f2f439f278a4a94ee97b67ef7b56ae8 (opens in a new tab)
- https://git.kernel.org/stable/c/b7859ff398b6b656e1689daa860eb34837b4bb89 (opens in a new tab)
- https://git.kernel.org/stable/c/8e7860543a94784d744c7ce34b78a2e11beefa5c (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-39533 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-42314)Record last updated .