Ad

CVE-2026-89969

CRITICAL CVSS 3.1: 9,8 EPSS 0.71%
Обновлено 19 октября 2026
Linux
Параметр Значение
CVSS 9,8 (CRITICAL)
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix out-of-bounds write when receiving an over-long PDU nvmet_tcp_try_recv_pdu() reads a PDU header into the fixed 128-byte queue->pdu union, then computes the remaining payload length as queue->left = hdr->hlen - queue->offset + hdgst; and reads that many more bytes into &queue->pdu + queue->offset, without ever bounding the result against sizeof(queue->pdu). Структура nvme_tcp_icreq_pdu сама по себе равна 128 байтам, что в точности соответствует размеру соединения. После согласования дайджеста заголовка (hdgst 4), второй ICReq проходит проверку hlen nvmet_tcp_pdu_size (), но дает queue->left 128 - 8 + 4 124, поэтому байты 8..132 записываются в 128-байтный буфер - 4 байта мимо его конца, через queue->hdr_digest и queue->data_digest.

Эти байты контролируются злоумышленниками (ICReq не несет дайджеста), а дубликат ICReq отклоняется только позже, после переполнения. Таким образом, удаленный неаутентифицированный хост может повредить память ядра, прилегающую к буферу приема. Отклонить любой PDU, объявленная длина которого будет читаться после конца queue->pdu перед второй отдачей.

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

In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix out-of-bounds write when receiving an over-long PDU nvmet_tcp_try_recv_pdu() reads a PDU header into the fixed 128-byte queue->pdu union, then computes the remaining payload length as queue->left = hdr->hlen - queue->offset + hdgst; and reads that many more bytes into &queue->pdu + queue->offset, without ever bounding the result against sizeof(queue->pdu). A struct nvme_tcp_icreq_pdu is itself 128 bytes, exactly the size of the union. Once a header digest has been negotiated (hdgst = 4), a second ICReq passes the hlen == nvmet_tcp_pdu_size() check but yields queue->left = 128 - 8 + 4 = 124, so bytes 8..132 are written into the 128-byte buffer -- 4 bytes past its end, over queue->hdr_digest and queue->data_digest. Those bytes are attacker-controlled (an ICReq carries no digest), and the duplicate ICReq is only rejected later, after the overflow. A remote unauthenticated host can thus corrupt kernel memory adjacent to the receive buffer. Reject any PDU whose declared length would read past the end of queue->pdu before the second recv.

Характеристики атаки

Способ атаки
По сети
Атака возможна удалённо
Сложность
Низкая
Легко эксплуатировать
Нужны права
Не требуются
Права не нужны
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Высокое
Полная утечка данных
Целостность
Высокое
Полная модификация данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1