# CVE-2026-72407: geneve: validate inner network offset in geneve_gro_complete()

- Severity: Critical 10.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-08-15T05:56:30.847Z
- Modified: 2026-08-17T06:19:07.453Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

geneve: validate inner network offset in geneve_gro_complete()

Even with both paths gated on gs->gro_hint, geneve_gro_complete()
re-derives the inner dispatch type and length from the packet and the
current gs->gro_hint, independently of geneve_gro_receive(). The two can
disagree if gs->gro_hint flips under a concurrent geneve_quiesce()/
geneve_unquiesce() (sk_user_data is NULL across a synchronize_net()), or if
the re-read option bytes differ from the ones receive parsed.

geneve_gro_receive() already records the inner network header position in
NAPI_GRO_CB()->inner_network_offset. Have geneve_gro_complete() compute the
offset it is about to dispatch at, adding ETH_HLEN in the ETH_P_TEB case
where eth_gro_complete() steps over the inner MAC header, and bail out if
it lands past inner_network_offset.

Use a lower bound rather than exact equality: between gh_len and the inner
L3 header, geneve_gro_receive() may also have pulled an inner VLAN tag
(vlan_gro_receive() advances the recorded offset past it), which only moves
inner_network_offset further out. A valid frame therefore always satisfies
inner_nh <= inner_network_offset, while a gh_len inflated by a hint
gro_receive() did not honour dispatches past the validated inner header,
i.e. the out-of-bounds completion. Only the latter is rejected.

(As written by CVE List.)

## Affected

- Linux Linux: from fd0dd796576e1a560e1441e665810129f0a82be0 before e2087447f562692ff0cd08a0554d8d4ad083aa5c; from fd0dd796576e1a560e1441e665810129f0a82be0 before cbb0d30a1ad6fc9439b1dc9b4f5a7a9140d3b11f; 7.0 (not affected: before 7.0; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/e2087447f562692ff0cd08a0554d8d4ad083aa5c>
- <https://git.kernel.org/stable/c/cbb0d30a1ad6fc9439b1dc9b4f5a7a9140d3b11f>

## Sources

- CVE List: [CVE-2026-72407](https://www.cve.org/CVERecord?id=CVE-2026-72407), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72407](https://nvd.nist.gov/vuln/detail/CVE-2026-72407), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72407 · Whole record: https://cve.day/CVE-2026-72407.json · Rebuilt by cve.day 2026-11-25T22:59:33.111Z
