bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-53091

8.4high

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

net: pull headers in qdisc_pkt_len_segs_init()

Most ndo_start_xmit() methods expects headers of gso packets to be already in skb->head.

net/core/tso.c users are particularly at risk, because tso_build_hdr() does a memcpy(hdr, skb->data, hdr_len);

qdisc_pkt_len_segs_init() already does a dissection of gso packets.

Use pskb_may_pull() instead of skb_header_pointer() to make sure drivers do not have to reimplement this.

Some malicious packets could be fed, detect them so that we can drop them sooner with a new SKB_DROP_REASON_SKB_BAD_GSO drop_reason.

Published 2026-06-24NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
High
Integrity
None
Availability
High
Scope
Changed

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H

References 11
Review Bv26.10.0x86_64Not affected✓ accepted by a member, 2026-11-18 · settles 4 of 8

Fable 5.1 · medium confidence · 2026-11-05

The fix is not in this tree: net/core/dev.c still has the pre-fix qdisc_pkt_len_init() using skb_header_pointer() for the TCP/UDP header of GSO packets, there is no pskb_may_pull() there and no SKB_DROP_REASON_SKB_BAD_GSO in include/net/dropreason-core.h; none of the 139 Infix patches touch net/core/dev.c.

The function runs on every transmit (__dev_queue_xmit, dev.c:4761) so it is always compiled and active, but the bug only matters when an untrusted local source injects a GSO skb whose headers are not linear (AF_PACKET with PACKET_VNET_HDR, tun/tap with IFF_VNET_HDR, or a virtio host).

In the factory configuration nothing on the device can do that: users get the restricted CLI (infix-system shell default false) and podman 4.9.5 containers run without NET_RAW/NET_ADMIN.

An operator can open the path through YANG by giving a container privileged true or capabilities/add net_raw|net_admin (infix-containers), or by giving a user a bash/sh shell (infix-system shell); a workload in such a container could then crash or corrupt the host kernel (S:C). Not directly reachable from a network interface.

Evidence 9
  1. Pre-fix code: uses skb_header_pointer() for the tcp/udp header of GSO packets instead of pskb_may_pull(); no drop of bad GSO skbs

    output/build/linux-6.18.60/net/core/dev.c:4119-4165 (qdisc_pkt_len_init)

  2. Only SKB_GSO_SEG drop reason exists; the SKB_BAD_GSO reason introduced by the fix is absent

    output/build/linux-6.18.60/include/net/dropreason-core.h:81,422

  3. qdisc_pkt_len_init() is called from __dev_queue_xmit for every transmitted packet, so the code is always active

    output/build/linux-6.18.60/net/core/dev.c:4761

  4. 139 patches applied; none modify net/core/dev.c or GSO handling (grep for gso/dev.c/pkt_len only matches unrelated driver patches)

    output/build/linux-6.18.60/.applied_patches_list

  5. CONFIG_NET=y, CONFIG_PACKET=y, CONFIG_TUN=m, CONFIG_TAP=m, CONFIG_VIRTIO_NET=y: the untrusted-GSO sources (AF_PACKET vnet hdr, tun/tap, virtio) are built

    output/build/linux-6.18.60/.config:1021,1032,2139,2140,2143

  6. None of the net/core/tso.c-using drivers named as most at risk are enabled on x86_64; remaining risk is generic ndo_start_xmit (e1000, virtio_net, veth, bridge etc.) handling non-linear GSO headers

    output/build/linux-6.18.60/.config (CAVIUM/DPAA2/ENETC/FEC/MVNETA/MVPP2/OCTEONTX2/IWLWIFI)

  7. YANG nodes `privileged` and `capabilities/add` (enum net_raw, net_admin) map to podman --privileged / --cap-add, enabling raw/vnet packet injection from a container

    src/confd/yang/confd/infix-containers@2026-04-20.yang:288,375-387 and src/confd/src/containers.c:137-145

  8. Default container capability set has no NET_RAW/NET_ADMIN, so default containers cannot open AF_PACKET or /dev/net/tun

    output/build/podman-4.9.5/vendor/github.com/containers/common/pkg/config/containers.conf:60-72

  9. User `shell` leaf defaults to false (CLI only); an operator may assign bash/sh, giving a local shell from which raw sockets/tun are usable

    src/confd/yang/confd/infix-system@2026-10-01.yang:596-604

Version and patches

CVE fix commits (5895cfc7..., 7564dc80..., 7fb4c196..., 9d4f5c68...) replace skb_header_pointer() with pskb_may_pull() in qdisc_pkt_len(_segs)_init() and add SKB_DROP_REASON_SKB_BAD_GSO. linux-6.18.60 in this tree (Makefile: 6.18.60) does not contain either change and no Infix patch backports it, so the NVD match is valid.

Recommendation

Backport the stable fix for net/core/dev.c (small, self-contained hunk plus the new drop reason) or move to a 6.18.y release that includes it. Until then, document that the path is only reachable by operator-granted privileges (privileged / net_raw / net_admin containers, or bash shell users).

Open questions

Which 6.18.y sublevel carries the backport could not be determined from the tree (no git history for the kernel source). Whether a hypervisor feeding crafted GSO frames over virtio_net to an x86_64 VM instance counts as in-scope was treated as outside the product.

Review Av26.10.0aarch64_minimalNot exposedAccepted by a member, 2026-11-18. The vulnerable code is present: output/build/linux-6.18.60/net/core/dev.c still has the pre-fix qdisc_pkt_len_init() using skb_header_pointer() with no pskb_may_pull() and no SKB_DROP_REASON_SKB_BAD_GSO exists anywhere in the tree; none of the 139 Infix patches touch it.Open the review →

Members of Kernel Kit decide. Sign in if you are one.