In the Linux kernel, the following vulnerability has been resolved:
dm-pcache: detect a cycle in the last-kset chain during replay
cachereplay() follows the on-media last-kset chain by nextcachesegid with no condresched(). A forged chain that points back into a segment it has already visited makes the replay loop follow it forever.
Cap the last-kset hops at cache->nsegs; a valid chain visits each segment at most once.