{"id":"CVE-2026-98446","revision":"be3ff667985245ecb76121afa2abf1cb","records":[{"revision":"be3ff667985245ecb76121afa2abf1cb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98446","aliases":[],"title":"xfs: don't let hidden_space go negative in xfs_metafile_resv_init","description":"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.","state":0,"publishedAt":"2026-10-18T15:14:56.724+00:00","modifiedAt":"2026-10-19T09:19:41.777+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/xfs/libxfs/xfs_metafile.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"1df8d75030b787a9fae270b59b93eef809dd2011\",\n                            \"lessThan\": \"930a9c1c321efdaa3e7f8caecb0479cee3baf342\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1df8d75030b787a9fae270b59b93eef809dd2011\",\n                            \"lessThan\": \"f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1df8d75030b787a9fae270b59b93eef809dd2011\",\n                            \"lessThan\": \"476582d754cdc5110f806001417fea6c77824c13\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/xfs/libxfs/xfs_metafile.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.55\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/930a9c1c321efdaa3e7f8caecb0479cee3baf342","https://git.kernel.org/stable/c/f0d8352a39f4a2e329ae45b71bb0d49e2ca0a6dc","https://git.kernel.org/stable/c/476582d754cdc5110f806001417fea6c77824c13"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98446","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98446","identifiers":["CVE-2026-98446"]},"retained":false,"historicalAffected":[]}],"coverage":[]}