Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-72046

gve: fix header buffer corruption with header-split and HW-GRO
Back to all
CVE

CVE-2026-72046

gve: fix header buffer corruption with header-split and HW-GRO

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

gve: fix header buffer corruption with header-split and HW-GRO

The DQO RX datapath programs a per-buffer-queue-descriptor

headerbufaddr at post time and reads the split header back at

completion time. Both the post and the read currently index the

header buffer by queue position rather than by the buffer's identity:

  • post (gverxpostbuffersdqo): headerbufaddr is computed from

    bufq->tail

  • read (gverxdqo): the header is read from desc_idx (the completion

    queue head index)

This relies on the buffer-queue index and the completion-queue index

being equal for the start of every packet, i.e. on the device consuming

posted buffers and returning completions in the exact same order. That

assumption does not hold once HW-GRO is enabled with multiple

flows: coalesced segments are accepted and completed in an order that

may differ from the order buffers were posted, and segments from

different flows may interleave.

That results in two problems:

  1. Wrong header slot on read. Because the read offset is derived from

   the completion index (desc_idx) while the device wrote the header to

   the address programmed for the buffer's buf_id, the driver can copy

   a header belonging to a different packet. This shows up as

   throughput drop (about 30% drop and large numbers of TCP

   retransmissions) with header-split and HW-GRO both enabled and many

   streams.

  1. Header buffer reused while still owned by the device. The driver

   advances bufq->head by one per completion and re-posts buffers based

   on that. Arrival of N RX completions only guarantees that at least N

   RX buffer descriptors have been read by the device. It does not

   guarantee that the device has relinquished the ownership of all the

   buffers corresponding to those N descriptors. With out-of-order

   completions (e.g. the completion for a packet copied into buffer N

   arrives before the completion for a packet copied into buffer N-1),

   the driver can re-post and overwrite a header buffer that the device

   is still going to write into, corrupting the header of a packet

   whose completion has not yet been processed.

Fix both issues by indexing the header buffer by buf_id on both the post

and read paths. Reading from buf_id's slot is therefore always correct

regardless of completion ordering (fixes problem 1).

Indexing by buf_id also ties each header slot to the lifetime of its

buffer state. A buffer state is only returned to the free/recycle lists

when its own completion (buf_id) is processed, so its header slot can

only be re-posted after the device is done with it. This makes header

slot reuse safe under out-of-order completions (fixes problem 2).

Allocate (gverxallochdrbufs) and free (gverxfreehdrbufs) the

header buffers based on numbufstates to match the buf_id indexing.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/35267819b25074084130b6a7be18bbaf44d3ae74, https://git.kernel.org/stable/c/84d3753d4bf284ef770ead6dee2270aaabb3ef41, https://git.kernel.org/stable/c/9f8e7f59b0c2f466be74bd923726b0f5496c27ad, https://git.kernel.org/stable/c/d676c9a73bdcd8237425dbb826f2bd1a25c36e40, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72046.json, https://nvd.nist.gov/vuln/detail/CVE-2026-72046, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00618%
EPSS Percentile
0.47007%
Introduced Version
5e37d8254e7f551dda62e7590e819d69c7491845,6.9.0,6.13.0,6.19.0,0
Fix Available
d676c9a73bdcd8237425dbb826f2bd1a25c36e40,6.12.101,6.18.40,7.1.5,6.12.101-1~deb12u1,6.12.101-1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading