Skip to content
Heist/ feed
Back to feed
HighFix available

xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.53, 7.2.7
CVEs
CVE-2026-97548
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:55 UTC · Revision 1

Source evidence

xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions

core-osv · Original source

Published 25 Sept 2026, 10:21 UTC

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.

osv:CVE-2026-97548

Kernel

Fixed versions: 6.18.53, 7.2.7

Complete source record
{
  "id": "5eee1d6bdbc264d324b2f401cd26d86abb413995f658c936de5b6395e94f4049",
  "url": "https://osv.dev/vulnerability/CVE-2026-97548",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions",
    "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 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.",
    "evidence": "osv:CVE-2026-97548",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-97548",
      "aliases": [
        "CVE-2026-97548"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9abe03a0e4f978615a2b1b484b8d09ca84c16ea0"
                },
                {
                  "fixed": "108114437915e61e8f88d1cbcc442c3f886a347e"
                },
                {
                  "fixed": "84316cb25af95a60e655ccc8fe646bb5ad631b71"
                },
                {
                  "fixed": "aa301322f72f82f26e4ba0826018d41388ab9896"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97548.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.14.0"
                },
                {
                  "fixed": "6.18.53"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97548.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.822489725Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/108114437915e61e8f88d1cbcc442c3f886a347e",
        "https://git.kernel.org/stable/c/84316cb25af95a60e655ccc8fe646bb5ad631b71",
        "https://git.kernel.org/stable/c/aa301322f72f82f26e4ba0826018d41388ab9896",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97548.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-97548",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97548.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-97548",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504344,
  "published_at": "2026-09-25T10:21:42.239+00:00"
}