CVE-2024-26630
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-26630 is a vulnerability in the Linux kernel's cachestat functionality, discovered in early 2024. The issue involves a potential read-after-free condition in the cache walk mechanism where the folio from the page cache's xarray is accessed to compute its page offset and check for dirty and writeback flags without holding a proper reference, allowing the folio to be concurrently released and reused as another folio/page/slab (Kernel Git).

Technical details

The vulnerability exists in the cachestat implementation where the code accesses folio data without proper reference counting. The fix involves modifying the approach to use xarray's existing machinery for folio page offsets and dirty/writeback states instead of directly accessing the folio. This change also affects tmpfs files behavior, which now report zeroes in their dirty and writeback counters. This modification is considered acceptable since tmpfs doesn't follow conventional writeback cache behavior, as its pages are "cleaned" during swapout (Kernel Git).

Impact

The vulnerability could potentially lead to memory corruption or system instability due to the read-after-free condition in the kernel's memory management subsystem. The issue affects systems running vulnerable versions of the Linux kernel, particularly impacting the cachestat functionality (NVD).

Exploitability

The vulnerability was discovered and reported by Jann Horn, and has been confirmed to be exploitable through the cachestat syscall implementation. The issue stems from the original cachestat implementation introduced by commit cf264e1329fb (Kernel Git).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel with a fix that modifies the cachestat implementation to use xarray's existing machinery instead of directly accessing folio data. The patch has been backported to various maintained kernel versions and is available through distribution updates, including Red Hat Enterprise Linux (Red Hat).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

bullseye

linux

Fixed

sid

linux: 6.7.9-1

Fixed

trixie

linux: 6.7.9-1

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-89654CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-extra
NoYesSep 11, 2026
CVE-2026-89711HIGH8.2
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 11, 2026
CVE-2026-89682HIGH8.1
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 11, 2026
CVE-2026-89648HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-7.0
NoYesSep 11, 2026
CVE-2026-89693HIGH7
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management