Ad

CVE-2026-64551

NONE
Обновлено 28 июля 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: sctp: проверить длину причины STALE_COOKIE перед чтением устаревания Когда блок ERROR с причиной STALE_COOKIE получен в Состояние COOKIE_ECHOED, sctp_sf_do_5_2_6_stale() считывает 4-байтовую меру of Staleness, который следует за заголовком причины: ошибка = (struct sctp_errdr *)(chunk->skb->data); устаревший = ntohl(*(__be32 *)((u8 *)err + sizeof(*err))); err — это первая причина в фрагменте, а не причина STALE_COOKIE, которая вызвало отправку, и ничто не гарантирует, что поле устаревания присутствует. sctp_walk_errors() требует, чтобы причина была такой же длины, как и 4-байтовый заголовок, поэтому для причины STALE_COOKIE длиной 4 выполняется чтение мимо причины и для минимального фрагмента ОШИБКИ после skb->tail. Значение передается партнеру в Cookie Preservant ответа INIT, утечка неинициализированной памяти. sctp_sf_cookie_echoed_err() уже доходит до причины STALE_COOKIE, поэтому проверьте его длину и передайте его sctp_sf_do_5_2_6_stale(), который читает эту причину вместо первой. Причина STALE_COOKIE тоже short для хранения поля устаревания отбрасывается.

Чтение доступно любому узлу, который может создать ассоциацию. COOKIE_ECHOED, включая непривилегированный процесс, использующий необработанный сокет SCTP. в пространстве имен пользователя и сети.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: sctp: validate STALE_COOKIE cause length before reading staleness When an ERROR chunk with a STALE_COOKIE cause is received in the COOKIE_ECHOED state, sctp_sf_do_5_2_6_stale() reads the 4-byte Measure of Staleness that follows the cause header: err = (struct sctp_errhdr *)(chunk->skb->data); stale = ntohl(*(__be32 *)((u8 *)err + sizeof(*err))); err is the first cause in the chunk, not the STALE_COOKIE cause that caused the dispatch, and nothing guarantees the staleness field is present. sctp_walk_errors() only requires a cause to be as long as the 4-byte header, so for a STALE_COOKIE cause of length 4 the read runs past the cause, and for a minimal ERROR chunk past skb->tail. The value is echoed to the peer in the Cookie Preservative of the reply INIT, leaking uninitialized memory. sctp_sf_cookie_echoed_err() already walks to the STALE_COOKIE cause, so check its length there and pass it to sctp_sf_do_5_2_6_stale(), which reads that cause instead of the first one. A STALE_COOKIE cause too short to hold the staleness field is discarded. The read is reachable by any peer that can drive an association into COOKIE_ECHOED, including an unprivileged process using a raw SCTP socket in a user and network namespace.