PT-2026-167112

CVE-2026-143254

·

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:
calipso: do not charge request socket options to the listener
calipso req setattr() and calipso req delattr() allocate ireq->ipv6 opt with ipv6 renew options(), which charges the listener sk omem alloc through sock kmalloc().
tcp v6 reqsk destructor() frees ireq->ipv6 opt without uncharging it, so each request socket leaks its options size from the listener budget. Once sysctl optmem max is reached, sock kmalloc() fails, calipso req setattr() returns -ENOBUFS, and tcp v6 route req() drops all subsequent SYN packets. sk destruct() also reports an optmem leakage when the listener is destroyed.
Uncharging in tcp v6 reqsk destructor() would not be correct: after a migration, req->rsk listener is no longer the socket that was charged.
These options belong to the request socket, there is no reason to charge them to the listener. Change ipv6 renew options() to use kmalloc() when its sk argument is NULL, and use this from calipso req setattr() and calipso req delattr(), like cipso v4 req setattr() which uses kzalloc().
Note:
After this patch, calipso req setattr() and calipso req delattr() no longer need the listener. Commit 10876da918fa ("calipso: Fix null-ptr-deref in calipso req {set,del}attr().") could be reverted in net-next (also removing the then unused sk variables), so that CALIPSO works with SYN cookies.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾