В ядре Linux устранена следующая уязвимость: smb: client: fix missing iov bounds check in parse_posix_sids() In parse_posix_sids(), sidsbuf_end вычисляется с помощью сервера-поставщика out_len без валидации против фактической длины полученного iov (iov_len). Если сервер предоставляет завышенный out_len, sidsbuf_end будет указывать на конец iov. Это устраняет ограничения в posix_info_sid_size(), позволяя out-of-bounds читать в соседнюю память ядра.
Исправьте это, отклонив ответы, где вычисленный sidsbuf_end превысит принятые границы iov или вызовет обертку указателя.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix missing iov bounds check in parse_posix_sids() In parse_posix_sids(), sidsbuf_end is calculated using the server-supplied out_len without being validated against the actual length of the received iov (iov_len). If a server provides an inflated out_len, sidsbuf_end will point past the end of the iov. This defeats the bounds guards in posix_info_sid_size(), allowing out-of-bounds reads into adjacent kernel memory. Fix this by rejecting responses where the calculated sidsbuf_end would exceed the received iov boundaries or cause pointer wraparound.
Характеристики атаки
Последствия
Строка CVSS v3.1