Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-97548

xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < 108114437915e61e8f88d1cbcc442c3f886a347eaffected
  • 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < 84316cb25af95a60e655ccc8fe646bb5ad631b71affected
  • 9abe03a0e4f978615a2b1b484b8d09ca84c16ea0 to < aa301322f72f82f26e4ba0826018d41388ab9896affected

Linux Linux

Default version status: affected

  • 6.14affected
  • 0 to < 6.14unaffected
  • 6.18.53 to ≤ 6.18.*unaffected
  • 7.2.7 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References