PT-2026-167091

CVE-2026-143233

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

Descrição por

Pontuação
N/A
Não disponível

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:
xsk: fix list corruption in xsk buff add frag()
In aligned mode, a fill ring address maps straight to its pool->heads[] entry. If user space posts the same address twice, a driver can pass xsk buff add frag() a buffer that is the head of the frame or is already on pool->xskb list or pool->free list.
Re-adding a linked node corrupts the list. With buffers A, B, C, B, xsk rcv zc() emits two descriptors instead of four and leaves the list head pointing at a self-linked B. When the Rx ring later has no room for a frame, the xsk buff free() cleanup follows B into pool->free list and passes the list head to xp free():
BUG: kernel NULL pointer dereference, address: 00000000000000c0 RIP: 0010:xp free+0x1a/0x50 Call Trace: xsk rcv zc+0xca/0x200
The head is not on any list and needs a separate check. Adding it as its own frag lets bpf xdp adjust tail() free the in-use head and wrap sinfo->nr frags to 255.
Reject such buffers before adding them to the frags array, as commit e37b2abca804 ("xsk: fix NULL pointer dereference in xsk rcv()") does in the copy path. Callers already drop the frame on failure.
Unaligned mode is not affected, as each fill ring entry gets its own xskb from pool->free heads[].
Reproduced with a KUnit test feeding synthetic buffers to xsk rcv zc(), by Nagato Shiratana.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾