# CVE-2026-80535: xfs: don't double-lock when deleting a self-referential directory

- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-08-26T14:37:10.985Z
- Modified: 2026-08-26T15:17:07.663Z
- Assigned by: Linux

## Description

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

xfs: don't double-lock when deleting a self-referential directory

LOLLM notices that the dirtree scrubber can detect a directory that
refers to itself.  In this case, it's not correct for the directory tree
repair code to try to iolock/ilock both sc->ip and dp, because they're
the same inode.  Fix this by detecting that corner case and handling it
appropriately.

(As written by CVE List.)

## Affected

- Linux Linux: from 3f31406aef493b3f19020909d29974e28253f91c before 17bc347cbdfb125eddac0a815b1f6c1f6eb56676; from 3f31406aef493b3f19020909d29974e28253f91c before ce2a7006ec5ed88db1b1669124ec85bc1714ccaa; from 3f31406aef493b3f19020909d29974e28253f91c before c575904471570e69bce40fa638365c6c0403e2ff; from 3f31406aef493b3f19020909d29974e28253f91c before 5fc643fb86599e29b38e7b2c2680b4b15bf8f772; 6.10 (not affected: before 6.10; from 6.12.105 up to 6.12.*; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/17bc347cbdfb125eddac0a815b1f6c1f6eb56676>
- <https://git.kernel.org/stable/c/ce2a7006ec5ed88db1b1669124ec85bc1714ccaa>
- <https://git.kernel.org/stable/c/c575904471570e69bce40fa638365c6c0403e2ff>
- <https://git.kernel.org/stable/c/5fc643fb86599e29b38e7b2c2680b4b15bf8f772>

## Sources

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

---

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