В ядре Linux устранена следующая уязвимость:
ksmbd: избегать доступа за пределами границ в decode_preauth_ctxt()
Убедитесь, что адрес pneg_ctxt->HashAlgorithms, к которому осуществляется доступ, находится внутри
граница запроса SMB; deassemble_neg_contexts() только проверяет, что
восьмибайтовый заголовок smb2_neg_context + (управляемый клиентом) DataLength:
внутри границы пакета, чего недостаточно.
Проверка sizeof(struct smb2_preauth_neg_context) является излишней
что тип в настоящее время предполагает SMB311_SALT_SIZE байты конечного Salt.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ksmbd: avoid out of bounds access in decode_preauth_ctxt() Confirm that the accessed pneg_ctxt->HashAlgorithms address sits within the SMB request boundary; deassemble_neg_contexts() only checks that the eight byte smb2_neg_context header + (client controlled) DataLength are within the packet boundary, which is insufficient. Checking for sizeof(struct smb2_preauth_neg_context) is overkill given that the type currently assumes SMB311_SALT_SIZE bytes of trailing Salt.
Характеристики атаки
Последствия
Строка CVSS v3.1