Vulnerabilities · 2024 · Linux
CVE-2024-42314
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/8e7860543a94784d744c7ce34b78a2e11beefa5c · Patch
- git.kernel.org/stable/c/b7859ff398b6b656e1689daa860eb34837b4bb89 · Patch
- git.kernel.org/stable/c/c205565e0f2f439f278a4a94ee97b67ef7b56ae8 · Patch
- git.kernel.org/stable/c/c1cc3326e27b0bd7a2806b40bc48e49afaf951e7
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2024-42314
- cve.org/CVERecord?id=CVE-2024-42314
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.