CVE-2026-97548

Description

A flaw was found in the Linux kernel's XFS file system. A local user can cause a Denial of Service (DoS) or system crash through an out-of-bounds memory access when processing large real-time reverse-mapping or reference count data structures. The issue occurs because the size calculation for in-memory cursor buffers fails to account for the root node level, causing the kernel to allocate insufficient memory and access beyond the end of the buffer.

Statement

A moderate-impact flaw was found in the Linux kernel's XFS file system. The _maxlevels_ondisk functions for the realtime reverse-mapping (rtrmap) and realtime reference-count (rtrefcount) btree types fail to account for the inode root when computing the size of in-memory btree cursors, so the kernel can allocate a cursor buffer that is too small. When processing a sufficiently large realtime btree, this leads to an out-of-bounds memory access beyond the end of the cursor buffer. A local user with write access to a mounted XFS filesystem that uses realtime reverse-mapping or reference-count btrees could use this flaw to cause a kernel panic, resulting in a denial of service or system crash. Red Hat rates this flaw Moderate severity (CVSS 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), lower than the upstream Important rating (CVSS 7.8), because exploitation requires an uncommon XFS realtime configuration and lengthy preparation to grow the btree to the required depth, and Red Hat's analysis finds no confidentiality or integrity impact, only impact to availability. In Red Hat Enterprise Linux 10 and RHIVOS 2 the vulnerable code is present and the affected streams are confirmed as affected, with the fix currently deferred; until a fix is delivered, the residual risk is limited to local users able to write to XFS realtime filesystems that exercise these btree features. Red Hat Enterprise Linux 6, 7, 8, and 9, as well as the OpenShift 4 and 5 streams, are not affected because the vulnerable code is not present in the kernels shipped for those products.

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/ANone
User InteractionNoneN/ARequired
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:N/UI:R/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.