Linux kernel
В пути приёма приоритетных VLAN в ядре Linux отсутствует ограничение на количество удаляемых вложенных тегов VID 0, поэтому пакеты с большим числом таких тегов могут вызвать зацикливание смещений заголовков. Это может позволить последующему обработчику протокола обратиться к памяти за пределами буфера пакета.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Чтение памяти ядра хоста за пределами буфера пакета и аварийное завершение ядра хоста, что приводит к остановке всех гостевых систем на нём.
Исправленная версия не указана.
Кадры с множеством вложенных тегов VID 0 (приоритетных) 802.1Q могут заставить путь приёма приоритетных VLAN многократно удалять теги и повторять попытки. В рекомендации говорится, что это может привести к чтению памяти ядра хоста за пределами буфера пакета и аварийному завершению ядра хоста, что остановит все гостевые системы на нём.
В фактах указано Linux, но не перечислены затронутые диапазоны версий. Ошибка находится в пути приёма приоритетных VLAN, поэтому проверьте версию ядра с помощью uname -r и обрабатывает ли система трафик с тегами VLAN с вложенными тегами VID 0.
Примените вышестоящие коммиты ядра e80d07f6f08883c922d1e029a0a75ff3fd81e658, 376aa7635f7b2ded1012b6dbdef6ead4d072962e и 834b0ab00c64886f1de280530c21a40374a6a75a или используйте сборку ядра, которая их включает, поскольку фиксированная версия не указана.
Оригинальный заголовок: Linux kernel out-of-bounds memory access in priority VLAN untagging
In the Linux kernel, the following vulnerability has been resolved: net: limit priority VLAN untag depth The priority VLAN receive path can repeatedly remove VID 0 tags and retry packet processing. Unlike the read-only VLAN protocol parser, this path has no limit on the number of nested tags it consumes. Each skb_vlan_untag() advances skb->data and resets header offsets. The offsets are stored in 16-bit fields. With enough nested tags, the network or transport offset can wrap. A later protocol handler can then derive a large pull length from the wrapped offsets and access memory outside the skb allocation. Apply the existing VLAN_MAX_DEPTH limit to the exceptional VID 0 retry. Count the tag already stored in skb VLAN metadata as the first level, then stop before untagging a ninth level. Keep the accounting inside this uncommon branch so the regular VLAN receive path is unaffected. A single VID 0 priority tag before a real VLAN tag is valid. No normal deployment was found that intentionally emits multiple consecutive VID 0 tags; permitting eight levels is therefore conservative. The issue was found while researching the Linux network receive path for Google kvmCTF, with OpenAI Codex (gpt-5.6-sol) assisting the analysis. The affected path, reproducer and fix were manually reviewed and tested.