xfs: don't double-lock when deleting a self-referential directory
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ce2a7006ec5ed88db1b1669124ec85bc1714ccaa, Kernel 17bc347cbdfb125eddac0a815b1f6c1f6eb56676, Kernel 5fc643fb86599e29b38e7b2c2680b4b15bf8f772 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3f31406aef493b3f19020909d29974e28253f91c <ce2a7006ec5ed88db1b1669124ec85bc1714ccaa, >=3f31406aef493b3f19020909d29974e28253f91c <17bc347cbdfb125eddac0a815b1f6c1f6eb56676, >=3f31406aef493b3f19020909d29974e28253f91c <5fc643fb86599e29b38e7b2c2680b4b15bf8f772, >=3f31406aef493b3f19020909d29974e28253f91c <c575904471570e69bce40fa638365c6c0403e2ff, =6.10 | ce2a7006ec5ed88db1b1669124ec85bc1714ccaa, 17bc347cbdfb125eddac0a815b1f6c1f6eb56676, 5fc643fb86599e29b38e7b2c2680b4b15bf8f772, c575904471570e69bce40fa638365c6c0403e2ff |
| linux-kernel: Kernel | >=6.13.0 <6.18.46, >=6.19.0 <7.1.10, >=6.10.0 <6.12.105 | 6.18.46, 7.1.10, 6.12.105 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket