PT-2026-163133

CVE-2026-139092

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

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:
netlink: check sk rcvbuf before charging the dump skb
Since commit ae8f160e7eb2 ("netlink: Fix wraparounds of sk->sk rmem alloc."), netlink dump() charges the dump skb first and queues it only if sk rmem alloc is still below sk rcvbuf. Commit a215b5723922 ("netlink: make sure we allow at least one dump skb") added an exception for an empty socket.
A dump that starts while something else is still charged to a socket with a small receive buffer fails with ENOBUFS and stays running. Every recvmsg() retries it, fails again and sets sk err, so a reader that peeks before reading, as libnl does, gets ENOBUFS on the read after each peek, never consumes the message at the head of the queue and spins forever.
I hit this with "iw dev wlan0 scan" hanging at 100% CPU on an arm64 board with a 6.6 based kernel (iw 5.19 sets SO RCVBUF to 8KiB). A kprobe trace showed the scan dump starting while the NEW SCAN RESULTS notification iw had just read was still charged to its socket, because iw had preempted the sender before netlink broadcast() returned.
Check the limit before charging, as before ae8f160e7eb2, which also covers the empty socket. netlink recvmsg() continues a dump only at or below half of sk rcvbuf, so the skb is then always queued, and a dump goes over the limit by at most one skb. Refuse a skb that would take sk rmem alloc past INT MAX, so the wraparound stays fixed.
Reproduced on net in a KVM guest with a userspace reproducer and the selftest in the next patch; both pass with this fix.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾