KernelScan.io

HIGH Introduced in 4.2

vmxnet3 Geneve Panic

CVE-2026-68299

CVSS 7.5 / 10.0 NVD

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

KernelScan AI7.5HIGH

01

In the Linux kernel, the following vulnerability has been resolved: vmxnet3: fix BUG_ON in vmxnet3_get_hdr_len() for Geneve packets vmxnet3_get_hdr_len() assumes gdesc->rcd.v4/v6/tcp always describe the outer header, but for a Geneve-encapsulated packet the device can set them based on the inner header instead, signalled by the VMXNET3_RCD_HDR_INNER_SHIFT bit in the completion descriptor. Since the function never skips the outer encapsulation, this mismatch triggers: - BUG_ON(hdr.ipv4->protocol != IPPROTO_TCP), because the outer protocol is UDP (Geneve), not TCP. - BUG_ON(hdr.eth->h_proto != ...), when the tunnel's outer and inner IP versions differ (e.g. outer IPv6/inner IPv4 or vice versa). Check VMXNET3_RCD_HDR_INNER_SHIFT up front and bail out, since the function cannot locate the inner header it would need to parse. Also convert the remaining BUG_ON()s in this function to return 0 defensively.

02

Engine v0.6.0

Risk summary

A remote attacker who can send Geneve-encapsulated packets to a system using a vmxnet3 network adapter (VMware paravirtualized NIC) can trigger kernel BUG_ON assertions in the header-length parsing function, causing an immediate kernel panic. No privileges are required on the target system; only network reachability to the vmxnet3 interface is needed.

Affecteddrivers/net/vmxnet3/vmxnet3_drv.c (vmxnet3 network driver)

Vulnerability analysis

The vmxnet3 driver's header-length parsing function assumes that completion descriptor fields always describe the outer packet header, but for Geneve-encapsulated packets the virtual device may populate them based on the inner header instead, indicated by a bit in the completion descriptor. When this happens, the function misinterprets the packet structure and triggers kernel assertions that immediately panic the system — for example, because the outer protocol is UDP (Geneve) rather than TCP, or because the outer and inner IP versions differ. The fix checks the inner-header indicator bit up front and returns early when set, since the function cannot locate the inner header it would need to parse; it also converts all remaining assertions to graceful error returns so that unexpected packet formats never crash the kernel. The vulnerability is reachable by any attacker who can deliver Geneve-encapsulated network packets to a system equipped with a vmxnet3 adapter, which is specific to VMware virtualized environments, and requires no privileges on the target.

03

BranchIntroducedFixed inPatch commit
6.14.26.1.18328e382646417
6.124.26.12.10128cb5d8d13b4
5.104.25.10.2652ddf51fcb6dd
mainline4.27.234a71f5361fc
6.184.26.18.424fdb0f162ccd
6.64.26.6.148667b6e52048e
7.14.27.1.6b28596baf87e
5.154.25.15.216fbab6b73cc08