{"id":"CVE-2026-98445","state":"PUBLISHED","title":"xfs: don't let memory failures leak blocks and kill repairs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't let memory failures leak blocks and kill repairs\n\nLOLLM complains that a memory allocation failure in\nxrep_newbt_add_blocks results in online repair leaking blocks that were\npreviously allocated to write a new btree, but the problem is worse than\nthat -- a limitation of the codebase is that the callers cannot undo the\ntransaction /and/ return the error -- either you undo all changes and\ncommit the transaction, or you error out and the filesystem goes down.\n\nHowever, the new btree space reservation object isn't that big (~48\nbytes).  Let's just do a NOFAIL allocation and the problem goes away.","publishedAt":"2026-10-18T15:14:55.754Z","updatedAt":"2026-10-19T09:19:40.826Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"be408417630427984a1fddd069f30b245793234c","status":"affected","lessThan":"3380151cf0ce8ad0c1d356fed51e4b69e1d28e50","versionType":"git"},{"version":"be408417630427984a1fddd069f30b245793234c","status":"affected","lessThan":"b15c79fca28060fd9c7e77f2c3ebc4ba023974e8","versionType":"git"},{"version":"be408417630427984a1fddd069f30b245793234c","status":"affected","lessThan":"0e0d3372a84029da1768c7a4c4601484af5b58a2","versionType":"git"},{"version":"be408417630427984a1fddd069f30b245793234c","status":"affected","lessThan":"ab1c416d2377cdc16123ef521aac4da1c468c3d4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/newbt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/newbt.c"]}],"references":["https://git.kernel.org/stable/c/3380151cf0ce8ad0c1d356fed51e4b69e1d28e50","https://git.kernel.org/stable/c/b15c79fca28060fd9c7e77f2c3ebc4ba023974e8","https://git.kernel.org/stable/c/0e0d3372a84029da1768c7a4c4601484af5b58a2","https://git.kernel.org/stable/c/ab1c416d2377cdc16123ef521aac4da1c468c3d4"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98445.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98445","state":"PUBLISHED","datePublished":"2026-10-18T15:14:55.754Z","dateUpdated":"2026-10-19T09:19:40.826Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.349Z"},"containers":{"cna":{"title":"xfs: don't let memory failures leak blocks and kill repairs","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't let memory failures leak blocks and kill repairs\n\nLOLLM complains that a memory allocation failure in\nxrep_newbt_add_blocks results in online repair leaking blocks that were\npreviously allocated to write a new btree, but the problem is worse than\nthat -- a limitation of the codebase is that the callers cannot undo the\ntransaction /and/ return the error -- either you undo all changes and\ncommit the transaction, or you error out and the filesystem goes down.\n\nHowever, the new btree space reservation object isn't that big (~48\nbytes).  Let's just do a NOFAIL allocation and the problem goes away."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"be408417630427984a1fddd069f30b245793234c","status":"affected","lessThan":"3380151cf0ce8ad0c1d356fed51e4b69e1d28e50","versionType":"git"},{"version":"be408417630427984a1fddd069f30b245793234c","status":"affected","lessThan":"b15c79fca28060fd9c7e77f2c3ebc4ba023974e8","versionType":"git"},{"version":"be408417630427984a1fddd069f30b245793234c","status":"affected","lessThan":"0e0d3372a84029da1768c7a4c4601484af5b58a2","versionType":"git"},{"version":"be408417630427984a1fddd069f30b245793234c","status":"affected","lessThan":"ab1c416d2377cdc16123ef521aac4da1c468c3d4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/newbt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/newbt.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3380151cf0ce8ad0c1d356fed51e4b69e1d28e50"},{"url":"https://git.kernel.org/stable/c/b15c79fca28060fd9c7e77f2c3ebc4ba023974e8"},{"url":"https://git.kernel.org/stable/c/0e0d3372a84029da1768c7a4c4601484af5b58a2"},{"url":"https://git.kernel.org/stable/c/ab1c416d2377cdc16123ef521aac4da1c468c3d4"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:19:40.826Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}