PT-2026-163180
CVE-2026-139139
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
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:
ppp: linearize and segment bridged packets when required
PPP channel bridging hands packets received on one channel directly to
the start xmit() of another. Packets received by PPPoE can be
non-linear, GSO since commit 55a5d8fca836 ("net: pppoe: implement
GRO/GSO support"), or CHECKSUM PARTIAL when injected with a
virtio net hdr. The regular transmit path never sees such packets, and
only PPPoE, which uses dev queue xmit(), handles them:
- PPP Async reads the whole packet through skb->data, transmitting unrelated memory for non-linear packets.
- PPP Async and Sync send GSO packets as single frames of up to 64KB, and CHECKSUM PARTIAL packets with a bad L4 checksum.
- PPTP and L2TP cannot segment a TCP GSO packet once their GRE or UDP header is pushed, and do not finish pending checksums.
Add a xmit offload flag to struct ppp channel, set for PPPoE. For other
channels, segment GSO packets in software, using the PPP protocol field
as the L2 header, finish CHECKSUM PARTIAL checksums (including SCTP
CRC32c), and linearize packets for channels without direct xmit, as
ppp push() does. Packets are dropped if any step fails, or if the
channel is busy, as before.
skb->dev is NULL at this point for PPPoE (cleared by sk receive skb()),
and tunnel and IPv6 UFO GSO handlers dereference it: only TCP, UDP L4
and fraglist GSO packets without encapsulation are segmented, others
are dropped.
Receive paths like L2TP pull headers without updating the checksum
state, possibly leaving a CHECKSUM PARTIAL state with csum start before
skb->data. Reset it to CHECKSUM NONE, as skb postpull rcsum() does, so
that skb checksum help() does not warn, and so that PPPoE does not
offload a checksum at a wrong offset.
Tested in a VM by bridging PPPoE (on a TAP with IFF NAPI FRAGS, or on
veth) to PPP Async on a PTY, PPPoL2TP and PPPoE: non-linear packets no
longer leak garbage, GSO packets (including fraglist GRO) are sent as
valid segments for IPv4 and IPv6, CHECKSUM PARTIAL packets get a valid
checksum, and PPPoE still receives GSO packets unchanged.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾