Description
In the Linux kernel, the following vulnerability has been resolved:

xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions

The _maxlevels_ondisk functions are used to compute the size of
in-memory btree cursors for each btree type. Unfortunately, LOLLM
noticed that the rtrmap and rtrefcount versions of these functions
forget to account for the inode root, which means that we could access
beyond the end of the cursor given a sufficiently large btree. Fix
this.
Published: 2026-09-25
Score: 7.8 High
EPSS: n/a
KEV: No
Impact: Memory Corruption (Out‑of‑Bounds Access)
Action: Apply Patch
AI Analysis

Impact

The vulnerability occurs in the Linux kernel’s XFS filesystem implementation. Two internal functions that calculate the maximum number of in‑memory B‑tree cursor levels omit the inode root from their calculation, allowing a cursor to reference beyond its allocated memory when the B‑tree is sufficiently large. This out‑of‑bounds access can corrupt kernel memory and may lead to crash (denial of service) or, if exploited with sufficient control, code execution. The weakness is an example of improper buffer size calculation (CWE‑119).

Affected Systems

All Linux kernel releases that use the XFS filesystem and contain the affected functions before the 108114437915e61e8f88d1cbcc442c3f886a347e patch. The patch is incorporated in newer kernel versions; the exact affected product list is not enumerated here, but any kernel that shipped before the fix is potentially vulnerable.

Risk and Exploitability

The CVSS score is 7.8, but the EPSS score is not available and the vulnerability is not listed in CISA KEV, indicating that it has not yet been broadly exploited. Nonetheless, an attacker with local or privileged access could create a large XFS B‑tree to trigger the out‑of‑bounds read/write. The risk is high for systems that rely on XFS and have unpatched kernels. The primary vector is local or privileged, with the potential to transition to broader impact if kernel memory corruption is achieved.

Generated by OpenCVE AI on September 26, 2026 at 00:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the patch for the XFS rtrmap and rtrefcount _maxlevels_ondisk functions.
  • If an official update is not available, manually apply the patch from commit 108114437915e61e8f88d1cbcc442c3f886a347e and rebuild the kernel.
  • Consider disabling XFS usage or migrating affected volumes to a different filesystem such as ext4 or btrfs.
  • Monitor kernel logs and system indicators for signs of XFS corruption or kernel crashes.

Generated by OpenCVE AI on September 26, 2026 at 00:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 26 Sep 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions The _maxlevels_ondisk functions are used to compute the size of in-memory btree cursors for each btree type. Unfortunately, LOLLM noticed that the rtrmap and rtrefcount versions of these functions forget to account for the inode root, which means that we could access beyond the end of the cursor given a sufficiently large btree. Fix this.
Title xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T14:41:11.843Z

Reserved: 2026-09-24T16:01:01.154Z

Link: CVE-2026-97548

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:05.183

Modified: 2026-09-25T15:17:58.553

Link: CVE-2026-97548

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T00:30:19Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer