CVE-2026-64031·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: erofs: fix managed cache race for unaligned extents After unaligned compressed extents were introduced, the following race could occur: [Thread 1] [Thread 2] (z_erofs_fill_bio_vec) <handle a Z_EROFS_PREALLOCATED_FOLIO folio> ... filemap_add_folio (1) (z_erofs_bind_cache) <the same folio is found..> .. .. folio_attach_private (2) filemap_add_folio (3) again Since (1) is executed but (2) hasn't been executed yet, it's possible that another thread finds the same managed folio in z_erofs_bind_cache() for a different pcluster and calls filemap_add_folio() again since folio->private is still Z_EROFS_PREALLOCATED_FOLIO. Fix this by explicitly clearing folio->private before making the folio visible in the managed cache so that another pcluster can simply wait on the locked managed folio as what we did for other shared cases [1]. This only impacts unaligned data compression (`-E48bit` with zstd, for example). [1] Commit 9e2f9d34dd12 ("erofs: handle overlapped pclusters out of crafted images properly") was originally introduced to handle crafted overlapped extents, but it addresses unaligned extents as well.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.11
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.10% — in the bottom 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64031 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.10%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.11
Fixed in: 7.0.11
How to fix this CVE
Update your Linux kernel to version 7.0.11 or later to resolve a managed cache race condition affecting unaligned compressed extents in EROFS filesystems. This vulnerability can lead to data corruption or system crashes when multiple threads interact with the same folio in the cache. Apply the kernel update immediately and reboot your system to ensure the fix is active.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — compare against 6.19 to 7.0.10 (vulnerable range)
- Verify EROFS support is compiled: grep -i erofs /boot/config-$(uname -r) — if CONFIG_EROFS_FS=y or =m, the filesystem is available
- Check for folio cache errors in kernel logs: dmesg | grep -i 'erofs\|folio\|pcluster' — look for cache coherency or race condition warnings
- Confirm patch is applied: grep -i 'z_erofs_bind_cache\|folio_attach_private' /boot/System.map-$(uname -r) — verify kernel symbols indicate the fix
FAQ
What is CVE-2026-64031?
This vulnerability is a race condition in the Linux kernel's EROFS (Enhanced Read-Only File System) implementation that occurs when unaligned compressed extents are processed. A timing gap between folio visibility and private metadata attachment can cause two threads to operate on the same cached folio simultaneously, resulting in data corruption or crashes.
Is CVE-2026-64031 being actively exploited?
No, CVE-2026-64031 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits have been disclosed. However, the vulnerability may be triggered inadvertently through normal EROFS filesystem operations.
What versions of Kernel are affected by CVE-2026-64031?
Linux kernel versions 6.19 through 7.0.10 are vulnerable. Version 7.0.11 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-64031?
Run `uname -r` to check your kernel version. If the output is between 6.19 and 7.0.10 (inclusive), you are vulnerable. Additionally, check if EROFS is enabled with `grep CONFIG_EROFS_FS /boot/config-$(uname -r)` — vulnerability only applies if this filesystem type is active.
Does Defensia detect CVE-2026-64031?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-64031 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64031. Free for 1 server.
Get started free