CVE-2026-97548: xfs: fix the rtrmap and rtrefcount _maxlevels_ondisk functions

Published Sep 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

xfs: fix the rtrmap and rtrefcount maxlevelsondisk functions

The maxlevelsondisk 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 Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:21 AM
Data Sourced
via MITRE·10:21 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Linux kernel systems using XFS are relevant, but the out-of-bounds cursor access requires a sufficiently large realtime reverse-mapping or realtime reference-count btree. The affected code paths are the rtrmap and rtrefcount btree cursor sizing functions.

2

What condition is required to trigger the out-of-bounds access?

The relevant realtime btree must be sufficiently large. The flawed maximum-level calculation omits the inode root, causing the allocated in-memory btree cursor to be too small for that condition.

3

How can administrators determine whether their filesystem may be affected?

Assess whether affected XFS filesystems use realtime reverse mapping or realtime reference counting and have sufficiently large associated btrees. The supplied information does not provide a version-based detection method or a configuration-independent indicator.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203