CVE-2026-99392 in Linuxinfo

Summary

by MITRE • 11/19/2026

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

xfs: don't subtract excess usage twice when computing agf_btreeblks

LOLLM noticed that the free space btree repair code calculates agf_btreeblks from the number of blocks we wrote to rebuild the free space btrees (minus the roots). That's correct. However, it observes that we subtract the "excess" reservation, which is not correct. Fix this accounting problem.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/19/2026

The vulnerability identified in the Linux kernel involves a logical error within the XFS filesystem implementation, specifically concerning the calculation of allocation group free space btree blocks. This issue was highlighted by LOLLM and centers on how the system accounts for block usage during the repair process of free space btrees. The core technical flaw lies in an incorrect arithmetic operation where excess reservation is subtracted twice from the total count when computing agf_btreeblks, which represents the number of blocks used to rebuild the free space btree structure minus root nodes. This double subtraction leads to a significant accounting discrepancy that misrepresents the actual disk usage and available space within the filesystem metadata structures.

From an operational perspective, this type of internal accounting error can lead to subtle but critical issues in filesystem integrity and performance monitoring. When the kernel incorrectly calculates the number of blocks reserved for btree operations, it may report inaccurate free space metrics to administrators or automated management tools. In severe cases, such miscalculations could potentially trigger false positives in disk usage alerts or cause the filesystem driver to make suboptimal allocation decisions based on flawed data regarding available metadata space. While this specific bug primarily affects internal consistency rather than causing immediate system crashes, it undermines the reliability of storage management operations and can complicate troubleshooting efforts for administrators relying on accurate block accounting reports.

The vulnerability aligns with CWE-682, which classifies incorrect calculation errors that result in improper resource allocation or status reporting. It also relates to CWE-754 regarding inappropriate checking of unusual input conditions if the repair logic fails to validate assumptions about excess reservations properly. In terms of MITRE ATT&CK mapping, this falls under T1078 Valid Accounts and potentially T1036 Masquerading if an attacker were able to exploit misreported space metrics to hide malicious file creation or data exfiltration activities by manipulating perceived free space thresholds, although the primary impact here is integrity rather than direct exploitation for access.

Mitigation strategies involve applying the upstream kernel patch that corrects the double subtraction logic in the XFS repair code path. System administrators should ensure their Linux distributions are updated with the latest stable kernels containing this fix. Additionally, regular filesystem checks using tools like xfs_repair can help detect and resolve any inconsistencies that may have arisen from previous incorrect accounting before they lead to more severe corruption issues. Monitoring disk usage reports for anomalies in metadata block counts can serve as an early warning indicator of such internal calculation errors until the patch is fully deployed across all affected systems.

Responsible

Linux

Reservation

09/25/2026

Disclosure

11/19/2026

Moderation

accepted

CPE

ready

EPSS

0.00224

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!