В ядре Linux устранена следующая уязвимость:
net/sched: sch_multiq: заменить прямой вызов удаления из очереди на peek и qdisc_dequeue_peeked
multiq_dequeue() принимает пакет от дочернего элемента группы с прямым
->dequeue() после того, как multiq_peek() просмотрел его. Когда ребенок
не сохраняющий работу peek прячет skb в gso_skb дочернего элемента, поэтому
прямое удаление из очереди возвращает другой skb и теряет тайник,
рассинхронизация дочернего qlen/backlog. С ребенком qfq, достигнутым через
подглядывающий родительский элемент (например, tbf) повторно вводит дочерний элемент в пустой список и
разыменовывает NULL, вызывая панику ядра от softirq при обычном выходе.
Пропустите пакет через qdisc_dequeue_peeked(), как это уже делает sch_prio.
и как только что были исправлены sch_red и sch_sfb. Помощник не работает
когда у ребенка нет тайника, это не влияет на ребенка, сохраняющего работу.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_multiq: Replace direct dequeue call with peek and qdisc_dequeue_peeked multiq_dequeue() takes a packet from a band's child with a direct ->dequeue() call after multiq_peek() peeked it. When the child is non-work-conserving the peek stashes the skb in the child's gso_skb, so the direct dequeue returns a different skb and orphans the stash, desyncing the child's qlen/backlog. With a qfq child reached through a peeking parent (e.g. tbf) this re-enters the child on an emptied list and dereferences NULL, panicking the kernel from softirq on ordinary egress. Take the packet through qdisc_dequeue_peeked(), as sch_prio already does and as sch_red and sch_sfb were just fixed to do. The helper is a no-op when the child has no stash, so a work-conserving child is unaffected.
Характеристики атаки
Последствия
Строка CVSS v3.1