{"id":"CVE-2026-80535","summary":"xfs: don't double-lock when deleting a self-referential directory","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't double-lock when deleting a self-referential directory\n\nLOLLM notices that the dirtree scrubber can detect a directory that\nrefers to itself.  In this case, it's not correct for the directory tree\nrepair code to try to iolock/ilock both sc-\u003eip and dp, because they're\nthe same inode.  Fix this by detecting that corner case and handling it\nappropriately.","modified":"2026-08-28T11:48:23.512244864Z","published":"2026-08-26T14:37:10.985Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80535.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/17bc347cbdfb125eddac0a815b1f6c1f6eb56676"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5fc643fb86599e29b38e7b2c2680b4b15bf8f772"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c575904471570e69bce40fa638365c6c0403e2ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce2a7006ec5ed88db1b1669124ec85bc1714ccaa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80535.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80535"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3f31406aef493b3f19020909d29974e28253f91c"},{"fixed":"17bc347cbdfb125eddac0a815b1f6c1f6eb56676"},{"fixed":"ce2a7006ec5ed88db1b1669124ec85bc1714ccaa"},{"fixed":"c575904471570e69bce40fa638365c6c0403e2ff"},{"fixed":"5fc643fb86599e29b38e7b2c2680b4b15bf8f772"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80535.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.105"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80535.json"}}],"schema_version":"1.9.0"}