In the Linux kernel, the following vulnerability has been resolved: xfs: fix another iunlink infinite loop bug in online fsck xrep_iunlink_resolve_bucket is supposed to reconstruct as much of the incore prev and next unlinked list pointers based on what it finds on disk and in memory before we move on to relinking the truly lost inodes back into the unlinked list. However, it's still vulnerable to infinite loops that come in via the next_unlinked pointers. Fix this problem by remembering which inodes we've already seen and checking new agino pointers against that. If a bit is already set, either this is a loop or the inode has nonzero link count. We'll deal with the second case in a subsequent patch.
https://git.kernel.org/stable/c/b6baf0db357fb84f3f3cfd33383a00de71a5a1c3
https://git.kernel.org/stable/c/6d67c6b99f1fc07c64b97fcbc974c6f1ada7f622
https://git.kernel.org/stable/c/24aec8c88539a382355761a9b924046885b6be40
https://git.kernel.org/stable/c/23690064f235a88a00c04f2e49f36bfb54ae560d