Ad

CVE-2026-98612

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

В ядре Linux была устранена следующая уязвимость: net: usb: catc: bound RX длина пакета в catc_rx_done() catc_rx_done() ходит по мультипакету URB, считывая длину в два байта с каждого заголовка пакета. Его граница, pkt_len > urb->actual_length, игнорирует смещение заголовка и сравнивает его со всей передачей, а не с байтами, оставшимися от pkt_start, поэтому созданный заголовок пакета заставляет skb_copy_to_linear_data() читать мимо буфера. Длина ниже ETH_HLEN также принимается, включая ноль, и eth_type_trans() затем считывает заголовок MAC из неинициализированной задней комнаты более короткого skb.

Ветка is_f5u011 берет свою длину прямо из передачи, поэтому URB нулевой длины достигает того же пути. Отслеживайте байты, оставшиеся от текущего пакета, и отвергайте заголовок, который не подходит, длину, проходящую мимо того, что осталось, и длину ниже заголовка Ethernet. Передача короче, чем заголовок Ethernet, включая нулевую длину, ранее стала runt skb, переданной netif_rx() и засчитанной как полученная; теперь она засчитывается в rx_length_errors и завершает ход.

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

In the Linux kernel, the following vulnerability has been resolved: net: usb: catc: bound the RX packet length in catc_rx_done() catc_rx_done() walks a multi-packet URB, reading a two-byte length from each packet header. Its bound, pkt_len > urb->actual_length, ignores the header offset and compares against the whole transfer rather than the bytes left from pkt_start, so a crafted packet header makes skb_copy_to_linear_data() read past the buffer. A length below ETH_HLEN is also accepted, including zero, and eth_type_trans() then reads a MAC header from the uninitialised tailroom of a shorter skb. The is_f5u011 branch takes its length straight from the transfer, so a zero-length URB reaches the same path. Track the bytes remaining from the current packet, and reject a header that does not fit, a length past what is left, and a length below an Ethernet header. A transfer shorter than an Ethernet header, including a zero-length one, previously became a runt skb passed to netif_rx() and counted as received; it is now counted in rx_length_errors and ends the walk.