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

xfs: don't let hidden_space go negative in xfs_metafile_resv_init

LOLLM points out that if the amount of fdblocks that we can reserve for
a metadata btree file goes below the space already used by that file,
then the hidden_space subtraction can underflow, causing
xfs_dec_fdblocks to subtract a huge amount of space. We never want the
target to be less than the used sapce, so fix the logic that adjusts
dblocks_avail downwards.

Also fix an error in the adjacent comment.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Potential Denial of Service
Action: Apply Patch
AI Analysis

Impact

The Linux kernel contains an integer underflow in the XFS filesystem subsystem, specifically within the function that reserves space for metadata btree files. When the available free blocks for a file drop below the amount already used by that file, the code subtracts hidden_space without checking for underflow, potentially reducing the free block counter by a massive amount. This can corrupt the kernel's internal accounting of free inodes and blocks, leading to filesystem instability, crash, or potentially privilege‑escalation exploitation if the attacker can trigger the flaw through crafted XFS operations.

Affected Systems

The flaw is present in any Linux kernel that implements the XFS filesystem. The affected products are the Linux operating system and the Linux kernel itself. No specific kernel versions are identified in the CNA data, so all kernel variants that include the XFS metafile_resv_init routine are potentially vulnerable.

Risk and Exploitability

The flaw is a classic integer underflow (CWE‑190) and could be leveraged by an attacker who can manipulate XFS metadata or create conditions that cause the hidden_space calculation to underflow. Release notes for the kernel do not indicate a CVSS or EPSS score, and the vulnerability is not yet listed in the CISA KEV catalog, so the exploitation potential is uncertain. However, the bug resides in core kernel code and may allow denial of service or other kernel‑level impact if successfully triggered. The likely attack vector is local or privileged operations that involve XFS metadata manipulation, though remote exploitation would require additional privileges.

Generated by OpenCVE AI on October 18, 2026 at 16:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patched Linux kernel that contains the fix for the hidden_space underflow in XFS metadb initialization.
  • If an immediate kernel upgrade is not feasible, reduce usage of XFS features that trigger the bug by limiting large metadata allocations such as extended attributes or btree structures, or by mounting the filesystem read‑only until a patch is available.
  • Continuously monitor kernel logs for abnormal XFS free‑block accounting (e.g., dmesg messages about fdblocks) and quickly reboot or remount the filesystem if suspicious activity is detected.

Generated by OpenCVE AI on October 18, 2026 at 16:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: don't let hidden_space go negative in xfs_metafile_resv_init LOLLM points out that if the amount of fdblocks that we can reserve for a metadata btree file goes below the space already used by that file, then the hidden_space subtraction can underflow, causing xfs_dec_fdblocks to subtract a huge amount of space. We never want the target to be less than the used sapce, so fix the logic that adjusts dblocks_avail downwards. Also fix an error in the adjacent comment.
Title xfs: don't let hidden_space go negative in xfs_metafile_resv_init
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:14:56.724Z

Reserved: 2026-09-25T10:25:14.349Z

Link: CVE-2026-98446

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:16:54.937

Modified: 2026-10-18T16:16:54.937

Link: CVE-2026-98446

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T16:30:13Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound