PT-2026-98619 · Linux · Linux
CVE-2026-97955
·
Publicado
2026-09-25
·
Atualizado
2026-09-25
Nenhuma
Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
net: mana: restore the XDP program pointer when pre-allocation fails
mana xdp set() publishes the new program into apc->bpf prog before it
allocates anything, because mana pre alloc rxbufs() sizes the buffers
from it via mana get rxbuf cfg(). When that allocation fails the
function returns the error directly, skipping the err dealloc rxbuffs
label which is the only place that restores the previous pointer.
The attach is reported as failed, so the BPF core drops the reference it
held for the caller and the program can be freed, while apc->bpf prog
still points at it. The next consumer of mana xdp get() - typically
mana chn setxdp() from mana alloc queues() on the following ifup, or
after a TX timeout reset - then calls bpf prog add() on freed memory.
This is reachable from an ordinary "ip link set dev ethX xdp obj ..."
whenever the per-queue RX buffer pre-allocation cannot be satisfied.
Restore the previous program on that error path.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux