CVE-2024-26630mm: cachestat: fix folio read-after-free in cache walk
- 7.1HighCVSS base score
- 0.30%Exploitation in 30 daysEPSS · top 77% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By Linux
- 23 days later
· 23 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.30% · top 77% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected cf264e1329fb0307e044f7675849f9f38b44c11a – < ba60fdf75e89ea762bb617be578dc47f27655117
- affected cf264e1329fb0307e044f7675849f9f38b44c11a – < fe7e008e0ce728252e4ec652cceebcc62211657c
- affected cf264e1329fb0307e044f7675849f9f38b44c11a – < 3a75cb05d53f4a6823a32deb078de1366954a804
- affected 6.5
- unaffected < 6.5
- unaffected 6.6.21 – ≤ 6.6.*
- unaffected 6.7.9 – ≤ 6.7.*
- unaffected 6.8 – ≤ *
References
References3
- https://git.kernel.org/stable/c/ba60fdf75e89ea762bb617be578dc47f27655117 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/fe7e008e0ce728252e4ec652cceebcc62211657c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/3a75cb05d53f4a6823a32deb078de1366954a804 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-23892 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-26630)Record last updated .