Review reviewHigh

CVE-2024-26630

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: mm: cachestat: fix folio read-after-free in cache walk In cachestat, we access the folio from the page cache's xarray to compute its page offset, and check for its dirty and writeback flags. However, we do not hold a reference to the folio before performing these actions, which means the folio can concurrently be released and reused as another folio/page/slab. Get around this altogether by just using xarray's existing machinery for the folio page offsets and dirty/writeback states. This changes behavior for tmpfs files to n...

CVSS
7.1
EPSS
0.30%
22.4% percentile
CISA KEV
Not listed
Published
2024.03.14
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.30%
Technical severityCVSS 7.1

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: mm: cachestat: fix folio read-after-free in cache walk In cachestat, we access the folio from the page cache's xarray to compute its page offset, and check for its dirty and writeback flags. However, we do not hold a reference to the folio before performing these actions, which means the folio can concurrently be released and reused as another folio/page/slab. Get around this altogether by just using xarray's existing machinery for the folio page offsets and dirty/writeback states. This changes behavior for tmpfs files to n...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= cf264e1329fb0307e044f7675849f9f38b44c11a < ba60fdf75e89ea762bb617be578dc47f27655117, >= cf264e1329fb0307e044f7675849f9f38b44c11a < fe7e008e0ce728252e4ec652cceebcc62211657c, >= cf264e1329fb0307e044f7675849f9f38b44c11a < 3a75cb05d53f4a6823a32deb078de1366954a804, >= 6.5, >= 6.5 < 6.6.21, >= 6.7 < 6.7.9, 6.8
Fixed versions
6.6.21, 6.7.9

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux 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:N/A:H
CWE
CWE-416
CVE-2024-26630 — Linux Linux, linux kernel | SECUFOCUS NOW