CVE-2026-98446

xfs: don't let hidden_space go negative in xfs_metafile_resv_init

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1df8d75030b787a9fae270b59b93eef809dd2011 to before 930a9c1c321efdaa3e7f8caecb0479cee3baf342Affected
  • 1df8d75030b787a9fae270b59b93eef809dd2011 to before f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dcAffected
  • 1df8d75030b787a9fae270b59b93eef809dd2011 to before 476582d754cdc5110f806001417fea6c77824c13Affected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.