CVE-2024-42314

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42314
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42314.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42314
Downstream
Related
Published
2024-08-17T09:15:11Z
Modified
2025-08-09T19:01:26Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

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

At addrabiopages() we are accessing the extent map to calculate 'addsize' 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.

References

Affected packages