PT-2026-167044
CVE-2026-143186
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
Descrição por
Pontuação
N/A
Não disponívelNã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:
nsh: limit recursion in nsh gso segment()
nsh gso segment() calls skb mac gso segment() for the inner packet,
which calls nsh gso segment() again when the next protocol is NSH,
either directly or behind an inner Ethernet header (ETH P TEB).
Nothing limits the depth: a GSO packet made of stacked 8-byte NSH
headers recurses once per header, and a 64KB packet can hold about
8000 of them, overflowing the kernel stack.
Such a packet can be injected with a packet socket using
PACKET VNET HDR, or with tun/tap or virtio net, as nothing checks
that a GSO packet with VIRTIO NET HDR F NEEDS CSUM carries the
protocol it claims. It is then segmented in software if the output
device does not support the GSO type:
BUG: TASK stack guard page was hit at ffffcad5c0ab3ff8 (stack is ffffcad5c0ab4000..ffffcad5c0ab8000)
Oops: stack guard page: 0000 [#1] SMP NOPTI
CPU: 3 UID: 0 PID: 337 Comm: nsh gso Tainted: G E 7.4.0-rc1+ #118 PREEMPT(lazy)
RIP: 0010:lock acquire (kernel/locking/lockdep.c:5902)
Call Trace:
skb mac gso segment (include/linux/rcupdate.h:309 include/linux/rcupdate.h:849 net/core/gso.c:50)
nsh gso segment (net/nsh/nsh.c:110) nsh
skb mac gso segment (net/core/gso.c:53)
nsh gso segment (net/nsh/nsh.c:110) nsh
[...]
skb mac gso segment (net/core/gso.c:53)
skb gso segment (net/core/gso.c:129)
validate xmit skb (net/core/dev.c:4238)
dev queue xmit (net/core/dev.c:5087)
packet sendmsg (net/packet/af packet.c:3157 net/packet/af packet.c:3189)
sys sendto (net/socket.c:800 net/socket.c:818 net/socket.c:2283)
x64 sys sendto (net/socket.c:2290 net/socket.c:2286 net/socket.c:2286)
do syscall 64 (arch/x86/entry/syscall 64.c:61 arch/x86/entry/syscall 64.c:84)
entry SYSCALL 64 after hwframe (arch/x86/entry/entry 64.S:121)
Use gso recursion inc test(), added in commit 006c8b834aed ("net: gso:
limit recursive IP-in-IP segmentation"), with the same limit as IPv4
and IPv6. The counter is shared with them: a packet with four NSH
headers in front of an IPv4 header is still segmented, one more NSH
header and it is dropped.
The NSH -> ETH P TEB -> NSH route is covered as well, as each round
goes through nsh gso segment().
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾