CVE Catalog

CVE-2024-26630

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

22th percentile - higher than 22% of all known CVEs

Summary

In the Linux kernel, a vulnerability in the cachestat mechanism was fixed, involving use-after-free of a folio during page cache walk. Lack of holding a reference to the folio could lead to concurrent release and reuse of the object.

Risk Assessment

The vulnerability could lead to system crashes (kernel panic) or potentially to unauthorized code execution in kernel context.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix for CVE-2024-26630.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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 now always report zeroes in their dirty and writeback counters. This is okay as tmpfs doesn't follow conventional writeback cache behavior: its pages get "cleaned" during swapout, after which they're no longer resident etc.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS