Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-80535

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3f31406aef493b3f19020909d29974e28253f91c to < 17bc347cbdfb125eddac0a815b1f6c1f6eb56676affected
  • 3f31406aef493b3f19020909d29974e28253f91c to < ce2a7006ec5ed88db1b1669124ec85bc1714ccaaaffected
  • 3f31406aef493b3f19020909d29974e28253f91c to < c575904471570e69bce40fa638365c6c0403e2ffaffected
  • 3f31406aef493b3f19020909d29974e28253f91c to < 5fc643fb86599e29b38e7b2c2680b4b15bf8f772affected

Linux Linux

Default version status: affected

  • 6.10affected
  • 0 to < 6.10unaffected
  • 6.12.105 to ≤ 6.12.*unaffected
  • 6.18.46 to ≤ 6.18.*unaffected
  • 7.1.10 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References