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

CVE-2026-80535
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 3f31406aef493b3f19020909d29974e28253f91c < 17bc347cbdfb125eddac0a815b1f6c1f6eb56676 ; affected 3f31406aef493b3f19020909d29974e28253f91c < ce2a7006ec5ed88db1b1669124ec85bc1714ccaa ; affected 3f31406aef493b3f19020909d29974e28253f91c < c575904471570e69bce40fa638365c6c0403e2ff ; affected 3f31406aef493b3f19020909d29974e28253f91c < 5fc643fb86599e29b38e7b2c2680b4b15bf8f772
Linux · Linuxaffected 6.10 ; unaffected 0 < 6.10 ; unaffected 6.12.105 ≤ 6.12.* ; unaffected 6.18.46 ≤ 6.18.* ; unaffected 7.1.10 ≤ 7.1.* ; unaffected 7.2 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD