CVE
CVE-2024-26630
CNA 原文 · 原文(英文)
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.
受影响版本
- 6.8-rc6仅此版本
- 6.8-rc5仅此版本
- 6.8-rc4仅此版本
- 6.8-rc3仅此版本
- 6.8-rc2仅此版本
- 6.8-rc1仅此版本
- ≥ 6.7, < 6.7.9修复版本 6.7.9
- ≥ 6.5, < 6.6.21修复版本 6.6.21
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。