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: < 1% Very Low
KEV: No
Impact: Memory Corruption (Out‑of‑Bounds Access)
Action: Apply Patch
AI Analysis

Impact

In the Linux kernel’s XFS filesystem, two internal functions that calculate the maximum number of in‑memory B‑tree cursor levels fail to include the inode root in their size calculation. This oversight can cause a cursor to reference memory beyond its allocated bounds when the underlying B‑tree is sufficiently large, leading to out‑of‑bounds memory reads or writes. The resulting kernel memory corruption can manifest as a crash or, if an attacker controls the data leading to the fault, could be a stepping stone to privilege escalation or arbitrary kernel code execution.

Affected Systems

All Linux kernel releases that include the unpatched XFS rtrmap and rtrefcount _maxlevels_ondisk functions are affected. The vulnerability resides in the kernel, so any system running a kernel version that predates the commit that introduces the fix is potentially vulnerable. Systems that use XFS for file storage are at risk, while kernels patched after the commit are safe.

Risk and Exploitability

Based on the description, it is inferred that an attacker would need local or privileged access to modify XFS metadata or create an excessively large B-tree to trigger the out-of-bounds access; the attack vector is likely local. The CVSS score of 7.8 indicates a high severity, but the EPSS score of less than 1% and the absence from CISA KEV suggest a low probability of exploitation in the wild. An attacker with local or privileged access could manipulate XFS to create an extremely large B-tree, triggering the out‑of‑bounds memory access. Although the attack surface is limited to systems using XFS and the need for kernel modification, the potential impact on confidentiality, integrity, and availability is significant in an unpatched environment.

Generated by OpenCVE AI on October 1, 2026 at 10:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

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 yet available, manually cherry‑pick the commit 108114437915e61e88f88d1cbcc442c3f886a347e, apply it, and rebuild the kernel.
  • Consider disabling XFS usage or migrating affected volumes to a different supported filesystem, such as ext4 or btrfs, to eliminate the risk.
  • Monitor kernel logs and system integrity for signs of XFS‑related corruption or kernel panics, and enforce strict access controls to prevent privileged users from creating the large B‑tree conditions.

Generated by OpenCVE AI on October 1, 2026 at 10:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Tue, 29 Sep 2026 13:15:00 +0000


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-10-19T09:09:11.344Z

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-10-19T10:17:23.790

Link: CVE-2026-97548

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97548 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T10:15:06Z

Weaknesses