{"id":"CVE-2026-72407","published":"2026-08-15T05:56:30Z","modified":"2026-08-17T05:43:47Z","title":"geneve: validate inner network offset in geneve_gro_complete()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngeneve: validate inner network offset in geneve_gro_complete()\n\nEven with both paths gated on gs->gro_hint, geneve_gro_complete()\nre-derives the inner dispatch type and length from the packet and the\ncurrent gs->gro_hint, independently of geneve_gro_receive(). The two can\ndisagree if gs->gro_hint flips under a concurrent geneve_quiesce()/\ngeneve_unquiesce() (sk_user_data is NULL across a synchronize_net()), or if\nthe re-read option bytes differ from the ones receive parsed.\n\ngeneve_gro_receive() already records the inner network header position in\nNAPI_GRO_CB()->inner_network_offset. Have geneve_gro_complete() compute the\noffset it is about to dispatch at, adding ETH_HLEN in the ETH_P_TEB case\nwhere eth_gro_complete() steps over the inner MAC header, and bail out if\nit lands past inner_network_offset.\n\nUse a lower bound rather than exact equality: between gh_len and the inner\nL3 header, geneve_gro_receive() may also have pulled an inner VLAN tag\n(vlan_gro_receive() advances the recorded offset past it), which only moves\ninner_network_offset further out. A valid frame therefore always satisfies\ninner_nh <= inner_network_offset, while a gh_len inflated by a hint\ngro_receive() did not honour dispatches past the validated inner header,\ni.e. the out-of-bounds completion. Only the latter is rejected.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00553,"percentile":0.39849,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e2087447f562692ff0cd08a0554d8d4ad083aa5c","tags":[]},{"url":"https://git.kernel.org/stable/c/cbb0d30a1ad6fc9439b1dc9b4f5a7a9140d3b11f","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":7.97},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fd0dd796576e1a560e1441e665810129f0a82be0, < e2087447f562692ff0cd08a0554d8d4ad083aa5c",">= fd0dd796576e1a560e1441e665810129f0a82be0, < cbb0d30a1ad6fc9439b1dc9b4f5a7a9140d3b11f"]},{"vendor":"Linux","product":"Linux","versions":["7.0"]}],"euvd":{"id":"EUVD-2026-59306","exploited":false,"provenance":"source"}}