{"id":"CVE-2026-98446","aliases":["CVE-2026-98446"],"related":[],"kind":"vulnerability","state":"published","title":"xfs: don't let hidden_space go negative in xfs_metafile_resv_init","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't let hidden_space go negative in xfs_metafile_resv_init\n\nLOLLM points out that if the amount of fdblocks that we can reserve for\na metadata btree file goes below the space already used by that file,\nthen the hidden_space subtraction can underflow, causing\nxfs_dec_fdblocks to subtract a huge amount of space.  We never want the\ntarget to be less than the used sapce, so fix the logic that adjusts\ndblocks_avail downwards.\n\nAlso fix an error in the adjacent comment.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't let hidden_space go negative in xfs_metafile_resv_init\n\nLOLLM points out that if the amount of fdblocks that we can reserve for\na metadata btree file goes below the space already used by that file,\nthen the hidden_space subtraction can underflow, causing\nxfs_dec_fdblocks to subtract a huge amount of space.  We never want the\ntarget to be less than the used sapce, so fix the logic that adjusts\ndblocks_avail downwards.\n\nAlso fix an error in the adjacent comment.","source":"cvelist"}],"published":"2026-10-18T15:14:56.724Z","modified":"2026-10-19T10:18:53.727Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1df8d75030b787a9fae270b59b93eef809dd2011","fixed":"930a9c1c321efdaa3e7f8caecb0479cee3baf342","status":"affected"},{"type":"git","introduced":"1df8d75030b787a9fae270b59b93eef809dd2011","fixed":"f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dc","status":"affected"},{"type":"git","introduced":"1df8d75030b787a9fae270b59b93eef809dd2011","fixed":"476582d754cdc5110f806001417fea6c77824c13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/930a9c1c321efdaa3e7f8caecb0479cee3baf342","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/476582d754cdc5110f806001417fea6c77824c13","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98446","url":"https://www.cve.org/CVERecord?id=CVE-2026-98446","licence":"CVE Terms of Use","modified":"2026-10-19T09:19:41.777Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98446","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98446","licence":"Public domain","modified":"2026-10-19T10:18:53.727Z"}],"updatedAt":"2026-11-25T22:59:45.185Z","epss":{"score":0.00173,"percentile":0.071,"date":"2026-12-01T12:00:22.000Z"}}