CVE-2026-64567

Description

A flaw was found in btrfs, a file system in the Linux kernel. This vulnerability occurs because the system does not properly validate the number of entries in the free space cache header when loading it. A local attacker with the ability to modify the file system metadata could craft a malicious free space cache. This could lead to an out-of-bounds read, causing a system crash and resulting in a denial of service.

Statement

A moderate-impact denial-of-service flaw was found in the btrfs file system in the Red Hat Enterprise Linux kernel. When loading a v1 free space cache, __load_free_space_cache() takes the num_entries and num_bitmaps counts directly from the on-disk btrfs_free_space_header without validating them against the number of pages allocated for the cache inode. A local attacker with the ability to modify file system metadata could craft a free space cache header that claims more entries than the backing pages can hold and fix up the leaf checksum so the cache still passes validation; loading such a cache then drives io_ctl->index past the end of the pages[] array in io_ctl_check_crc(), causing a slab-out-of-bounds read that turns into a general protection fault and kernel panic. The verified impact is a system crash and denial of service only: no information disclosure, privilege escalation, or data integrity impact has been demonstrated. For this reason Red Hat rates this flaw Moderate (CVSS 3.1 score 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), a meaningful difference from the CVE.org score of 7.8, which assumes high confidentiality and integrity impacts that the technical evidence does not support. Within Red Hat products, the kernel packages of Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 10, and the Red Hat In-Vehicle OS (rhivos) streams are affected, with the fix currently deferred; the residual risk of the deferral is limited to a local denial of service by an attacker who can already modify btrfs file system metadata on the target system. The Red Hat Enterprise Linux 8 and 9 kernel and kernel-rt streams are marked not affected because the vulnerable code is not present in those builds, and Red Hat Enterprise Linux 6 ELS is out of active support scope.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/A7.8
Attack VectorLocalN/ALocal
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.

Confidentiality

Technical Impact: Bypass Protection Mechanism

Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.

Other

Technical Impact: Varies by Context

The read operation could produce other undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.