xfs: don't double-lock when deleting a self-referential directory
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.
CVE-2026-80535
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:CVE-2026-80535
Kernel
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 6.12.105
Source reference:
/affected/1/ranges6.18.46Source reference:
/affected/1/ranges7.1.10Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80535.json"
}
}
]- Related CVEs
- CVE-2026-80535
Source reference:
/id
Publisher severity
No explicit severity was provided.
- Event
- #50773 · Revision 1
- Added to Heist Feed
- Publisher date