Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97550 Overview
CVE-2026-97550 is a Linux kernel vulnerability in the XFS filesystem. The flaw lives in the per_binval computation, where unit conversion between filesystem blocks (FSB) and bytes was performed in the wrong direction. The function xfs_buf_inval_log_space expects its second parameter in bytes, but the code passed max_binval expressed in filesystem block units. Upstream maintainers have resolved the issue through commits to the stable kernel tree.
Critical Impact
Incorrect byte/FSB unit conversion in XFS log space invalidation accounting can lead to miscalculated buffer invalidation limits, affecting filesystem reliability on systems using XFS.
Affected Products
- Linux kernel (XFS filesystem subsystem)
- Stable kernel branches referenced by commits 05cff7c, b5089a3, and cfeba3b
- Systems mounting XFS volumes on affected kernel versions
Discovery Timeline
- 2026-09-25 - CVE-2026-97550 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97550
Vulnerability Analysis
The defect is a numeric truncation and unit mismatch issue in the XFS buffer invalidation log space accounting path. The helper xfs_buf_inval_log_space accepts a size argument measured in bytes. The caller computed per_binval using max_binval, which is tracked in filesystem block (FSB) units. The original code applied a bytes-to-FSB conversion, when the correct direction is FSB-to-bytes.
As a result, the value handed to the log space routine is scaled incorrectly. On systems with typical 4 KiB filesystem block sizes, the magnitude of the error directly tracks the block size, producing accounting values that do not reflect actual byte quantities. This affects log reservation sizing tied to buffer invalidation operations.
Root Cause
The root cause is an inverted unit conversion in arithmetic that bridges two different measurement domains used throughout XFS. max_binval holds a count of filesystem blocks, while the consumer API expects bytes. The patched code reverses the conversion so FSB values are multiplied by the block size before being passed downstream, aligning producer and consumer units.
Attack Vector
No authenticated remote attack vector is documented for this issue. The flaw is triggered through normal XFS filesystem activity that exercises buffer invalidation logging. Impact is bounded to kernels compiled with XFS support and workloads mounting XFS volumes. No public exploit is listed in the enriched data, and the issue is not present on the CISA Known Exploited Vulnerabilities catalog.
The vulnerability manifests through standard filesystem operations rather than a crafted attacker payload. See the kernel commits referenced below for the exact code paths affected.
Detection Methods for CVE-2026-97550
Indicators of Compromise
- Kernel log messages from the XFS subsystem referencing buffer invalidation log space anomalies
- Unexpected XFS transaction reservation failures on affected kernel builds
- Running kernel versions that predate the fixes in commits 05cff7c2b79f, b5089a328acc, and cfeba3bdf4df
Detection Strategies
- Inventory Linux hosts by kernel version and identify systems running XFS without the upstream fix applied
- Compare installed kernel package versions against distribution security advisories referencing CVE-2026-97550
- Review build configurations for CONFIG_XFS_FS=y or =m to scope affected systems
Monitoring Recommendations
- Collect dmesg and /var/log/messages output for XFS warnings using centralized logging
- Track kernel package versions across the fleet through configuration management tooling
- Alert on kernel panics or filesystem remounts in read-only mode on XFS volumes
How to Mitigate CVE-2026-97550
Immediate Actions Required
- Identify hosts running XFS on kernel versions that lack the fix referenced in commits 05cff7c, b5089a3, and cfeba3b
- Apply vendor-supplied kernel updates from your Linux distribution as they become available
- Prioritize patching on systems where XFS backs production workloads or shared storage
Patch Information
The fix has been merged to the upstream stable kernel tree. Review the following commits for the exact source change and backport targets: Kernel Git Commit 05cff7c, Kernel Git Commit b5089a3, and Kernel Git Commit cfeba3b. Install the kernel package update from your distribution vendor and reboot affected systems.
Workarounds
- No supported workaround exists; the correct remediation is to install the patched kernel
- Where immediate kernel updates are not feasible, limit XFS workload intensity on affected hosts and monitor for filesystem errors
- Maintain current backups of XFS volumes to allow recovery if filesystem accounting anomalies occur
# Verify running kernel version and XFS module status
uname -r
modinfo xfs | grep -E '^(filename|version|srcversion)'
# Example: apply distribution kernel updates and reboot
# Debian / Ubuntu
sudo apt update && sudo apt install --only-upgrade linux-image-$(uname -r)
# Red Hat / Rocky / Alma
sudo dnf update kernel
sudo systemctl reboot
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

