{"id":"CVE-2026-97543","state":"PUBLISHED","title":"xfs: destroy seen inode bitmap when we fail to add a dirpath","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: destroy seen inode bitmap when we fail to add a dirpath\n\nLOLLM observes a memory leak in xchk_dirtree_create_path if we create\nthe directory path object but appending the name to the path fails.\nWhen this happens, we don't tear down the (empty) seen inode bitmap.\nThis is a pretty trivial error, but let's not leave logic bombs.\n\nDo the same for a similar bug in xrep_dirtree_create_adoption_path.","publishedAt":"2026-09-25T10:21:39.249Z","updatedAt":"2026-10-19T09:09:05.396Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"928b721a11789a9363d6d7c32a1f3166a79f3b5f","status":"affected","lessThan":"3b10ca4302ee2dda4233f70b2033883ee376fa6a","versionType":"git"},{"version":"928b721a11789a9363d6d7c32a1f3166a79f3b5f","status":"affected","lessThan":"0b756de8167f2f06ffceadc71cb17c1fc7be4be8","versionType":"git"},{"version":"928b721a11789a9363d6d7c32a1f3166a79f3b5f","status":"affected","lessThan":"582f54dce62043f7a0503ab8c76d718d0293da59","versionType":"git"},{"version":"928b721a11789a9363d6d7c32a1f3166a79f3b5f","status":"affected","lessThan":"1a441c6842da75c5b862cc1c9f7969d6a93b54b9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/dirtree.c","fs/xfs/scrub/dirtree_repair.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","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/dirtree.c","fs/xfs/scrub/dirtree_repair.c"]}],"references":["https://git.kernel.org/stable/c/3b10ca4302ee2dda4233f70b2033883ee376fa6a","https://git.kernel.org/stable/c/0b756de8167f2f06ffceadc71cb17c1fc7be4be8","https://git.kernel.org/stable/c/582f54dce62043f7a0503ab8c76d718d0293da59","https://git.kernel.org/stable/c/1a441c6842da75c5b862cc1c9f7969d6a93b54b9"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97543.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97543","state":"PUBLISHED","datePublished":"2026-09-25T10:21:39.249Z","dateUpdated":"2026-10-19T09:09:05.396Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-24T16:01:01.154Z"},"containers":{"cna":{"title":"xfs: destroy seen inode bitmap when we fail to add a dirpath","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: destroy seen inode bitmap when we fail to add a dirpath\n\nLOLLM observes a memory leak in xchk_dirtree_create_path if we create\nthe directory path object but appending the name to the path fails.\nWhen this happens, we don't tear down the (empty) seen inode bitmap.\nThis is a pretty trivial error, but let's not leave logic bombs.\n\nDo the same for a similar bug in xrep_dirtree_create_adoption_path."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"928b721a11789a9363d6d7c32a1f3166a79f3b5f","status":"affected","lessThan":"3b10ca4302ee2dda4233f70b2033883ee376fa6a","versionType":"git"},{"version":"928b721a11789a9363d6d7c32a1f3166a79f3b5f","status":"affected","lessThan":"0b756de8167f2f06ffceadc71cb17c1fc7be4be8","versionType":"git"},{"version":"928b721a11789a9363d6d7c32a1f3166a79f3b5f","status":"affected","lessThan":"582f54dce62043f7a0503ab8c76d718d0293da59","versionType":"git"},{"version":"928b721a11789a9363d6d7c32a1f3166a79f3b5f","status":"affected","lessThan":"1a441c6842da75c5b862cc1c9f7969d6a93b54b9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/dirtree.c","fs/xfs/scrub/dirtree_repair.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","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/dirtree.c","fs/xfs/scrub/dirtree_repair.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3b10ca4302ee2dda4233f70b2033883ee376fa6a"},{"url":"https://git.kernel.org/stable/c/0b756de8167f2f06ffceadc71cb17c1fc7be4be8"},{"url":"https://git.kernel.org/stable/c/582f54dce62043f7a0503ab8c76d718d0293da59"},{"url":"https://git.kernel.org/stable/c/1a441c6842da75c5b862cc1c9f7969d6a93b54b9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:09:05.396Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}