В ядре Linux была устранена следующая уязвимость: xfs: избежать кросс-rtgroup жнецов после ремонта LOLLM замечает, что объёмы, хранящиеся в xrtb_bitmap (он же xfs_rtblock bitmap), могут охватывать несколько rtgroup из-за двух обстоятельств. Во-первых, размер rtgroup - это точная мощность двух, что означает, что rtgroups соседствуют в сегментированном адресном пространстве xfs_rtblock_t. Это довольно распространено, чтобы уменьшить количество умножения и деления, необходимых для обработки пространства на томе rt.
Во-вторых, (в отличие от оригинального дизайна rtgroups), rtgroups не имеют метаданных с фиксированным местоположением, как AGs, что означает, что нет ничего, чтобы заставить разрыв между rtgroups. Поэтому мы должны пройти через rtgroups в xreap_rtmeta_extent, чтобы избежать сбегания конца rtgroup во время жатвы.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: xfs: avoid cross-rtgroup reaping after a repair LOLLM notices that the extents stored in a xrtb_bitmap (aka xfs_rtblock bitmap) can span multiple rtgroups due to two circumstances. The first is that the size of an rtgroup is an exact power of two, which means that rtgroups are adjacent in the segmented xfs_rtblock_t address space. This is fairly common to reduce the amount of multiplication and division needed to handle space on the rt volume. The second is that (unlike in the original rtgroups design), rtgroups do not have fixed-location metadata like AGs do, which means that there's nothing to force a break between rtgroups. Therefore, we must loop through the rtgroups in xreap_rtmeta_extent to avoid running off the end of an rtgroup while reaping.