В ядре Linux устранена следующая уязвимость:
xfs: не проглатывайте ошибки проверки восстановления dquot
xlog_recover_dquot_commit_pass2() проверяет восстановленный dquot с помощью
xfs_dqblk_verify() и в случае неудачи устанавливает error = -EFSCORRUPTED и переходит
в out_release. Но out_release безоговорочно возвращает 0, поэтому
ошибка повреждения отбрасывается: вызывающая сторона xlog_recover_items_pass2()
видит успех, восстановление журнала происходит так, как если бы dquot был действительным, и
поврежденный буфер квот может быть записан обратно на диск.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: xfs: don't swallow dquot recovery verification errors xlog_recover_dquot_commit_pass2() validates the recovered dquot with xfs_dqblk_verify() and, on failure, sets error = -EFSCORRUPTED and jumps to out_release. But out_release unconditionally returns 0, so the corruption error is discarded: the caller xlog_recover_items_pass2() sees success, log recovery proceeds as if the dquot were valid, and the corrupt quota buffer can be written back to disk.