Ad

CVE-2026-99709

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

В ядре Linux была устранена следующая уязвимость: inet: frags: limit the truesize of a reassembly line Истинный размер фрагментов в очереди reassembly ограничен только per netns ipfrag_high_thresh sysctl, который не имеет верхнего предела. inet_frag_reasm_finish() суммирует истинный размер всех фрагментов в int. Если эта сумма достигает 232, она сворачивается, и окончательная настройка sk_wmem_alloc сокета, владеющего собранным skb, может отменить свою собственную ссылку, что приведет к use-after-free этого сокета. Это может быть вызвано из непривилегированного пространства имен пользователя / сети, повышая ipfrag_high_thresh и используя пакеты TUN, которые сохраняют большой истинный размер после обрезки ip_rcv_core ().

Отслеживайте сумму истинного размера фрагментов в каждой очереди и откажитесь от фрагмента, который сделает его больше, чем INT_MAX / 2. Звонящие убьют очередь по этой ошибке. Эта граница намного превышает потребности законного трафика.

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

In the Linux kernel, the following vulnerability has been resolved: inet: frags: limit the truesize of a reassembly queue The truesize of fragments in a reassembly queue is only bounded by the per netns ipfrag_high_thresh sysctl, which has no upper limit. inet_frag_reasm_finish() sums the truesize of all fragments in an int. If this sum reaches 2^32, it wraps, and the final sk_wmem_alloc adjustment of the socket owning the reassembled skb can cancel its own reference, leading to a use-after-free of this socket. This can be triggered from an unprivileged user/network namespace, raising ipfrag_high_thresh and using padded TUN packets, which keep a large truesize after being trimmed by ip_rcv_core(). Track the sum of the truesize of fragments in each queue, and refuse a fragment that would make it bigger than INT_MAX / 2. Callers kill the queue on this error. This bound is far above the needs of legitimate traffic.