In the Linux kernel, the following vulnerability has been resolved: smb: client: validate SMB1 EA list bounds before parsing CIFSSMBQAllEAs() checks the server-provided EA list length by adding it to the response pointer. На 32-битных системах положительная длина может обернуть указатель и передать сравнение. Затем парсер выходит за пределы полученного ответа во время чтения следующего заголовка FEA.
Ответ с длиной списка 0x40000000 воспроизводит это как нативную ошибку страницы i386 и панику ядра от listxattr () против сервера SMB1. Проверьте, что список EA начинается в области байтов SMB, прежде чем читать его заголовок. Оставьте его длину без подписи и сравните его с байтами, оставшимися в ответе без добавления указателя.
SMB1 не согласован по умолчанию и требует явного крепления vers1.0.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: smb: client: validate SMB1 EA list bounds before parsing CIFSSMBQAllEAs() checks the server-provided EA list length by adding it to the response pointer. On 32-bit systems, a positive length can wrap the pointer and pass the comparison. The parser then walks outside the received response while reading the next FEA header. A response with a list length of 0x40000000 reproduces this as a native i386 page fault and kernel panic from listxattr() against an SMB1 server. Check that the EA list starts within the SMB byte area before reading its header. Keep its length unsigned and compare it with the bytes left in the response without pointer addition. SMB1 is not negotiated by default and requires an explicit vers=1.0 mount.
Характеристики атаки
Последствия
Строка CVSS v3.1