В ядре Linux была устранена следующая уязвимость: xfs: fix correction of unwritten extensions in quota file data fork LOLLM заметил пару проблем с кодом, который исправляет ненаписанные отображения в форке данных файла квоты: во-первых, мы должны обнулить содержимое ondisk в рамках преобразования их в "unwritten" на случай, если мы потерпим ошибку вскоре после преобразования. Во-вторых, и что более важно, он заметил, что мы не можем пересинхронизировать курсор iext-дерева после изменения дерева iext. Если форма дерева изменится, мы можем оказаться в больном мире.
В-третьих, мы должны провести проверку квот, если мы сбросим диск dquot. Исправьте все проблемы.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: xfs: fix correction of unwritten extents in quota file data fork LOLLM noticed a couple of problems with the code that fixes unwritten mappings in the quota file's data fork: first, we should zero the ondisk contents as part of converting them to "unwritten" just in case we crash shortly after the conversion. Second, and more importantly, it noticed that we fail to resynchronize the iext tree cursor after modifying the iext tree. If the tree shape changes, we could be in a world of hurt. Third, we should force a quotacheck if we reset an ondisk dquot. Fix all issues.