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: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The Linux kernel has a documented integer underflow in the XFS filesystem subsystem, specifically when reserving space for metadata btree files. If the free block count that can be reserved falls below the amount already used, the code subtracts hidden_space without boundary checks, potentially allowing the free block counter to underflow and become a very large negative number. This incorrect accounting can lead to kernel crashes or filesystem corruption, resulting in a denial‑of‑service condition for applications that rely on the affected filesystem.

Affected Systems

The bug exists in any Linux kernel that implements the XFS filesystem; the implicated routines are part of the core kernel code. No specific kernel versions or patch levels are identified, so all kernel variants that include the XFS metafile_resv_init function are considered potentially vulnerable.

Risk and Exploitability

The flaw is an integer underflow (CWE‑191) and carries a CVSS score of 4.4, indicating moderate severity. The EPSS score of less than 1 % shows a very low expected exploitation probability, and the vulnerability is not yet listed in the CISA KEV catalog. The attack vector is not explicitly disclosed, but it is inferred that local or privileged operations that manipulate XFS metadata are required to trigger the overflow, making remote exploitation unlikely without additional privileges.

Generated by OpenCVE AI on October 22, 2026 at 23:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the hidden_space underflow fix.
  • If a kernel upgrade is not feasible, apply the specific patch to the kernel source manually and rebuild the kernel, ensuring the hidden_space logic is corrected.
  • As a temporary workaround, mount affected XFS filesystems read‑only to prevent the code path that may trigger the underflow, or restrict operations that allocate large metadata blocks on XFS.

Generated by OpenCVE AI on October 22, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190

Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-191
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


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-19T09:19:41.777Z

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-19T10:18:53.727

Link: CVE-2026-98446

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98446 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T23:30:13Z

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)