PT-2026-167259
CVE-2026-143401
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
net: virtio: validate outer protocol of UDP tunnel GSO packets
virtio net hdr tnl to skb() trusts the virtio header to describe a
UDP tunnel over IPv4 or IPv6, but never checks that the frame actually
carries such outer headers. Because VIRTIO NET HDR F NEEDS CSUM is
mandatory for tunnel GSO, virtio net hdr to skb() skips the flow
dissector, so virtio net hdr match proto() is never applied either.
A guest (or a tap writer) can then inject a frame with an arbitrary
outer ethertype, for example ETH P NSH, with SKB GSO UDP TUNNEL set.
The GSO stack then runs nsh gso segment() on top of the UDP tunnel
segmentation, which assumes a different header layout. The result is
segments with skb->data before skb->head, and a host crash in
skb under panic() as soon as a later layer pushes a header:
skbuff: skb under panic: ... put:4 ... dev:gretap1
kernel BUG at net/core/skbuff.c:215!
skb push
gre xmit
gre tap xmit
...
tun get user
Validate the outer headers with the parsing helpers from Michael's
series "net: resolve uncommon partial checksums at ingress":
- locate the L3 header: Ethernet with optional VLAN tags, or the network header set by the caller. skb->protocol is not trusted when it disagrees with the frame.
- require the outer L3 protocol to match the declared tunnel type.
- require the outer UDP header exactly at outer th offset, after IPv4 options or IPv6 extension headers, and reject fragments.
Unlike the original helpers:
- the callers tell whether the frame starts with an Ethernet header, with a new has eth argument of virtio net hdr tnl to skb(), instead of using the device type. tun frames packets from its IFF TAP and IFF TUN flags, and TUNSETLINK can set the device type to any value. virtio net and tun xdp one() always pass true, tun get user() passes whether the device is IFF TAP.
- ipv6 find hdr() stops at an AH header, as Willem suggested in the review of that series.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾