# CVE-2026-99391: xfs: don't try to scrub self-referential dirent in metapath checker

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-19T14:23:30.187Z
- Modified: 2026-11-19T15:17:51.453Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

xfs: don't try to scrub self-referential dirent in metapath checker

LOLLM observes that the _ilock_both helper will loop forever trying to
double-lock the same inode if mpath->dp == sc->ip.  Callers are not
supposed to call us with parent == child because that makes no sense.
Trigger an assertion, mark the scan incomplete, and return IO error
so that this fails noisily.

(As written by CVE List.)

## Affected

- Linux Linux: from b3c03efa5972f084e40104307dbe432359279cf2 before 1bde9463d75244ade3f870e34e9e60f2cb686c44; from b3c03efa5972f084e40104307dbe432359279cf2 before 4fe6d43988e98c25e592b560b63d055c01a0046d; from b3c03efa5972f084e40104307dbe432359279cf2 before 1e7337a3ecebab1bb2ba02187d88b94e5146e4f0; 6.13 (not affected: before 6.13; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/1bde9463d75244ade3f870e34e9e60f2cb686c44>
- <https://git.kernel.org/stable/c/4fe6d43988e98c25e592b560b63d055c01a0046d>
- <https://git.kernel.org/stable/c/1e7337a3ecebab1bb2ba02187d88b94e5146e4f0>

## Sources

- CVE List: [CVE-2026-99391](https://www.cve.org/CVERecord?id=CVE-2026-99391), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-99391](https://nvd.nist.gov/vuln/detail/CVE-2026-99391), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-99391 · Whole record: https://cve.day/CVE-2026-99391.json · Rebuilt by cve.day 2026-11-25T22:59:52.054Z
