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 Av26.10.0aarch64_minimalNot exposed✓ accepted by a member, 2026-11-18 · settles 4 of 8

Fable 5.1 · medium confidence · 2026-11-06

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.

net/core/dev.o is always built (CONFIG_NET=y) and the function runs on every transmitted packet, but the defect only matters for GSO skbs whose headers are not in the linear area, which the kernel's own TCP/GRO paths never produce; such "dodgy" GSO skbs can only be injected locally via tun/tap (CONFIG_TUN=m), AF_PACKET with vnet_hdr (needs CAP_NET_RAW), or a malicious virtio hypervisor (CONFIG_VIRTIO_NET=y, QEMU-only).

In aarch64_minimal podman is not built (BR2_PACKAGE_PODMAN is not set), so the infix-containers privileged/capabilities YANG path does not exist; reaching the bug requires a root/CAP_NET_ADMIN shell on the device or a hostile hypervisor.

Not reachable from a network interface.

Evidence 9
  1. Pre-fix code: uses skb_header_pointer() for TCP/UDP headers of GSO skbs, no pskb_may_pull(), no bad-GSO drop; fix not backported

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

  2. SKB_DROP_REASON_SKB_BAD_GSO introduced by the fix is absent from the tree

    output/build/linux-6.18.60/include/net/dropreason-core.h (grep SKB_BAD_GSO: no hits)

  3. 139 Infix patches; none touch net/core/dev.c or GSO header pulling

    output/build/linux-6.18.60/.applied_patches_list

  4. VERSION 6.18.60, inside NVD affected range

    output/build/linux-6.18.60/Makefile:2-4

  5. dev.c compiled; net/core/tso.c users (mvneta/mvpp2, which memcpy headers from skb->data) are built as modules

    output/objects.txt (net/core/dev.o, net/core/tso.o, drivers/net/ethernet/marvell/mvpp2/*.o, mvneta.o)

  6. qdisc_pkt_len_init() is called unconditionally on every TX packet in default config

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

  7. Local injection vectors for non-linear GSO skbs are built, but all need CAP_NET_ADMIN/CAP_NET_RAW or a hypervisor

    output/build/linux-6.18.60/.config (CONFIG_TUN=m, CONFIG_TAP=m, CONFIG_PACKET=y, CONFIG_VIRTIO_NET=y, CONFIG_MACVTAP=m)

  8. Container support (the only YANG path to grant net_admin/net_raw to a workload, src/confd/src/containers.c:137-146) is not in the aarch64_minimal image

    output/.config:5180 (# BR2_PACKAGE_PODMAN is not set)

  9. The CLI `shell` command yields a system shell; this is the only on-device route to a privileged injector (outside normal YANG/CLI configuration)

    src/klish-plugin-infix/xml/shell.xml:9

Version and patches

NVD/kernel CNA: affected through 6.18.x before the stable backport (refs 5895cfc7..., 7564dc80..., 7fb4c196..., 9d4f5c68...); 6.18.60 in this tree does not contain the fix (function still named qdisc_pkt_len_init, uses skb_header_pointer, no SKB_BAD_GSO drop reason). No Infix patch in patches/linux/6.18.60 addresses it.

Recommendation

Backport the upstream fix ("net: pull headers in qdisc_pkt_len_segs_init()") or move to the 6.18.y stable release that includes it at the next kernel bump; low urgency for this image since triggering needs root/CAP_NET_ADMIN on the box or a hostile hypervisor. Re-evaluate as USED_WHEN_ENABLED for images that build podman (infix-containers privileged / capabilities add net_admin|net_raw).

Open questions

Could not fetch the stable commits to confirm exactly which 6.18.y release carries the fix. Did not verify whether any shipped physical NIC driver with LRO could hand the stack a GSO skb with non-linear headers (upstream description scopes the issue to untrusted/dodgy GSO sources, so this is unlikely).

Review Bv26.10.0x86_64Not affectedAccepted by a member, 2026-11-18. 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.Open the review →

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