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.
History

Wed, 11 Sep 2024 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-03-13T15:50:32.480Z

Updated: 2024-11-05T09:12:52.548Z

Reserved: 2024-02-19T14:20:24.135Z

Link: CVE-2024-26630

cve-icon Vulnrichment

Updated: 2024-08-02T00:07:19.749Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-13T16:15:30.047

Modified: 2024-11-21T09:02:43.470

Link: CVE-2024-26630

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-03-13T00:00:00Z

Links: CVE-2024-26630 - Bugzilla