Review reviewHigh

CVE-2024-42314

Linux Linux, debian linux, linux kernel

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
7.8
EPSS
0.23%
13.4% percentile
CISA KEV
Not listed
Published
2024.08.17
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.23%
Technical severityCVSS 7.8

Vulnerability overview

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 product and versions

Product
Linux Linux, debian linux, linux kernel
Affected versions
>= 6a4049102055250256623ab1875fabd89004bff8 < c1cc3326e27b0bd7a2806b40bc48e49afaf951e7, >= 6a4049102055250256623ab1875fabd89004bff8 < c205565e0f2f439f278a4a94ee97b67ef7b56ae8, >= 6a4049102055250256623ab1875fabd89004bff8 < b7859ff398b6b656e1689daa860eb34837b4bb89, >= 6a4049102055250256623ab1875fabd89004bff8 < 8e7860543a94784d744c7ce34b78a2e11beefa5c, >= 5.16, 11.0, >= 5.16 < 6.1.108, >= 6.2 < 6.6.44, >= 6.7 < 6.10.3
Fixed versions
6.1.108, 6.6.44, 6.10.3

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, debian linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416