Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-26630

published high CVSS 3.1 · 7.1

mm: cachestat: fix folio read-after-free in cache walk

Published
13 Mar 2024, 15:50:32 UTC
Updated
05 Aug 2026, 11:26:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxcf264e1329fb0307e044f7675849f9f38b44c11a to < ba60fdf75e89ea762bb617be578dc47f27655117 · cf264e1329fb0307e044f7675849f9f38b44c11a to < fe7e008e0ce728252e4ec652cceebcc62211657c · cf264e1329fb0307e044f7675849f9f38b44c11a to < 3a75cb05d53f4a6823a32deb078de1366954a804 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 6.6.21 through 6.6.* (unaffected · semver) · 6.7.9 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 9 bpftool Advisory build 7.3.0-427.35.1.el9_4 ALSA-2024:6567
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.3.0-427.35.1.el9_4 ELSA-2024-6567
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.35.1.el9_4 RHSA-2024:6567
AlmaLinux 9 kernel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 libperf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 perf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 rtla Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
AlmaLinux 9 rv Advisory build 5.14.0-427.35.1.el9_4 ALSA-2024:6567
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.3.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-427.35.1.el9_4 ELSA-2024-6567

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - The vulnerability is reached only through the local `cachestat(2)` system call on an open file descriptor. There is no remote or adjacent-network path to `filemap_cachestat()`. AC:L - Although this is a race, the attacker drives both sides of it: one thread loops on `cachestat()` while another loops `POSIX_FADV_DONTNEED`/truncate on a file it owns (e.g. a memfd) plus a slab-spray thread, so the window is created and retried at will with no dependence on conditions outside the attacker's control. PR:L - The syscall performs no capability or permission check beyond `fdget()` — any unprivileged local user with any open file descriptor can call it, and `CONFIG_CACHESTAT_SYSCALL` is `default y` in stock kernels. UI:N - The attacker's own processes populate the page cache, evict it, and call the syscall; no victim action is needed at any point. S:U - The read-after-free occurs in kernel memory and the disclosed data is returned to the calling process within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Reading the freed-and-reused `struct page` leaks stale metadata whose reuse the attacker can groom, and the pointer-sized `folio->index` value (SLUB's `slab.freelist`) is recoverable exactly from the returned `nr_cache` counter, giving repeatable full kernel-heap address disclosure and KASLR defeat. I:N - Every access to the freed folio on this path is a read; the results are accumulated into a stack `struct cachestat` copied to the caller's own buffer, so no kernel memory is modified and no write primitive is created. A:H - This is a use-after-free, which crashes even when not exploited: a stale `PG_head` bit sends the read to `page[1]`, which can fault on an unpopulated vmemmap section on memory-hole/hotplug systems, and KASAN-instrumented kernels panic on the UAF report.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux cf264e1329fb0307e044f7675849f9f38b44c11a to < ba60fdf75e89ea762bb617be578dc47f27655117 (affected · git)cf264e1329fb0307e044f7675849f9f38b44c11a to < fe7e008e0ce728252e4ec652cceebcc62211657c (affected · git)cf264e1329fb0307e044f7675849f9f38b44c11a to < 3a75cb05d53f4a6823a32deb078de1366954a804 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.5 (affected)0 to < 6.5 (unaffected · semver)6.6.21 through 6.6.* (unaffected · semver)6.7.9 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

3

Linux · cna

mm: cachestat: fix folio read-after-free in cache walk

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c244ec41217962a40ee3bd786ece7b25bb63a17b9d35a74a7cb4d412f3d5e0ea
Ingested
23 Sep 2026, 08:20:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected