xfs: don't try to scrub self-referential dirent in metapath checker

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

xfs: don't try to scrub self-referential dirent in metapath checker

LOLLM observes that the _ilock_both helper will loop forever trying to double-lock the same inode if mpath->dp == sc->ip. Callers are not supposed to call us with parent == child because that makes no sense. Trigger an assertion, mark the scan incomplete, and return IO error so that this fails noisily.

ProductVersions
Linux Linuxb3c03efa5972f084e40104307dbe432359279cf2 to before 1bde9463d75244ade3f870e34e9e60f2cb686c44 Affectedb3c03efa5972f084e40104307dbe432359279cf2 to before 4fe6d43988e98c25e592b560b63d055c01a0046d Affectedb3c03efa5972f084e40104307dbe432359279cf2 to before 1e7337a3ecebab1bb2ba02187d88b94e5146e4f0 Affected
Linux Linux6.13 Affectedbefore 6.13 Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.