{"id":"CVE-2026-99391","state":"PUBLISHED","title":"xfs: don't try to scrub self-referential dirent in metapath checker","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't try to scrub self-referential dirent in metapath checker\n\nLOLLM observes that the _ilock_both helper will loop forever trying to\ndouble-lock the same inode if mpath->dp == sc->ip.  Callers are not\nsupposed to call us with parent == child because that makes no sense.\nTrigger an assertion, mark the scan incomplete, and return IO error\nso that this fails noisily.","publishedAt":"2026-11-19T14:23:30.187Z","updatedAt":"2026-11-19T14:39:10.310Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b3c03efa5972f084e40104307dbe432359279cf2","status":"affected","lessThan":"1bde9463d75244ade3f870e34e9e60f2cb686c44","versionType":"git"},{"version":"b3c03efa5972f084e40104307dbe432359279cf2","status":"affected","lessThan":"4fe6d43988e98c25e592b560b63d055c01a0046d","versionType":"git"},{"version":"b3c03efa5972f084e40104307dbe432359279cf2","status":"affected","lessThan":"1e7337a3ecebab1bb2ba02187d88b94e5146e4f0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/metapath.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","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/metapath.c"]}],"references":["https://git.kernel.org/stable/c/1bde9463d75244ade3f870e34e9e60f2cb686c44","https://git.kernel.org/stable/c/4fe6d43988e98c25e592b560b63d055c01a0046d","https://git.kernel.org/stable/c/1e7337a3ecebab1bb2ba02187d88b94e5146e4f0"],"weaknesses":[],"ingestedAt":"2026-11-19T14:42:06.048Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99391.json","commit":"ac44738435f10e6dbe2f4dd504cf13737f9cf963","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99391","state":"PUBLISHED","datePublished":"2026-11-19T14:23:30.187Z","dateUpdated":"2026-11-19T14:39:10.310Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.412Z"},"containers":{"cna":{"title":"xfs: don't try to scrub self-referential dirent in metapath checker","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't try to scrub self-referential dirent in metapath checker\n\nLOLLM observes that the _ilock_both helper will loop forever trying to\ndouble-lock the same inode if mpath->dp == sc->ip.  Callers are not\nsupposed to call us with parent == child because that makes no sense.\nTrigger an assertion, mark the scan incomplete, and return IO error\nso that this fails noisily."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b3c03efa5972f084e40104307dbe432359279cf2","status":"affected","lessThan":"1bde9463d75244ade3f870e34e9e60f2cb686c44","versionType":"git"},{"version":"b3c03efa5972f084e40104307dbe432359279cf2","status":"affected","lessThan":"4fe6d43988e98c25e592b560b63d055c01a0046d","versionType":"git"},{"version":"b3c03efa5972f084e40104307dbe432359279cf2","status":"affected","lessThan":"1e7337a3ecebab1bb2ba02187d88b94e5146e4f0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/scrub/metapath.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","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/metapath.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1bde9463d75244ade3f870e34e9e60f2cb686c44"},{"url":"https://git.kernel.org/stable/c/4fe6d43988e98c25e592b560b63d055c01a0046d"},{"url":"https://git.kernel.org/stable/c/1e7337a3ecebab1bb2ba02187d88b94e5146e4f0"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:39:10.310Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}