{"id":"CVE-2026-98446","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-10-18T16:16:54.937","lastModified":"2026-10-19T10:18:53.727","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/xfs/libxfs/xfs_metafile.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"1df8d75030b787a9fae270b59b93eef809dd2011","lessThan":"930a9c1c321efdaa3e7f8caecb0479cee3baf342","versionType":"git","status":"affected"},{"version":"1df8d75030b787a9fae270b59b93eef809dd2011","lessThan":"f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dc","versionType":"git","status":"affected"},{"version":"1df8d75030b787a9fae270b59b93eef809dd2011","lessThan":"476582d754cdc5110f806001417fea6c77824c13","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/xfs/libxfs/xfs_metafile.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","versionType":"semver","status":"unaffected"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","versionType":"semver","status":"unaffected"},{"version":"7.3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/476582d754cdc5110f806001417fea6c77824c13","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/930a9c1c321efdaa3e7f8caecb0479cee3baf342","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}