xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions
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.
CVE-2026-97548
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-97548
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "9abe03a0e4f978615a2b1b484b8d09ca84c16ea0",
"lessThan": "108114437915e61e8f88d1cbcc442c3f886a347e",
"versionType": "git"
},
{
"status": "affected",
"version": "9abe03a0e4f978615a2b1b484b8d09ca84c16ea0",
"lessThan": "84316cb25af95a60e655ccc8fe646bb5ad631b71",
"versionType": "git"
},
{
"status": "affected",
"version": "9abe03a0e4f978615a2b1b484b8d09ca84c16ea0",
"lessThan": "aa301322f72f82f26e4ba0826018d41388ab9896",
"versionType": "git"
}
],
"programFiles": [
"fs/xfs/libxfs/xfs_rtrefcount_btree.c",
"fs/xfs/libxfs/xfs_rtrmap_btree.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/xfs/libxfs/xfs_rtrefcount_btree.c",
"fs/xfs/libxfs/xfs_rtrmap_btree.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97548
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #37998 · Revision 1
- Added to Heist Feed
- Publisher date