In the Linux kernel, the following vulnerability has been resolved: ntfs: fix incorrect MFT record pointer passed to ntfs_attr_record_resize ntfs_new_attr_flags() passes the wrong MFT record to ntfs_attr_record_resize(). Когда атрибут находится в степени записи, ctx->mrec указывает на степень, но функция получает базовый указатель записи m, вызывая неправильные вычисления размера в memmove. Исправлено путем передачи ctx->mrec (фактическая запись MFT, содержащая атрибут) вместо m (базовая запись MFT) в ntfs_attr_record_resize().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix incorrect MFT record pointer passed to ntfs_attr_record_resize ntfs_new_attr_flags() passes the wrong MFT record to ntfs_attr_record_resize(). When the attribute is in an extent record, ctx->mrec points to the extent but the function receives the base record pointer m, causing incorrect size calculations in memmove. Fix by passing ctx->mrec (the actual MFT record containing the attribute) instead of m (the base MFT record) to ntfs_attr_record_resize().
Характеристики атаки
Последствия
Строка CVSS v3.1