---
id: CVE-2026-97548
title: |-
  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 t…
summary: |-
  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 t…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 <
    108114437915e61e8f88d1cbcc442c3f886a347e
  - >-
    Linux >= 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 <
    84316cb25af95a60e655ccc8fe646bb5ad631b71
  - >-
    Linux >= 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 <
    aa301322f72f82f26e4ba0826018d41388ab9896
  - Linux 6.14
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T15:17:58.553'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97548'
references:
  - url: 'https://git.kernel.org/stable/c/108114437915e61e8f88d1cbcc442c3f886a347e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/84316cb25af95a60e655ccc8fe646bb5ad631b71'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/aa301322f72f82f26e4ba0826018d41388ab9896'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T11:06:38.919Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
