CVE-2026-72046
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
17/08/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
gve: fix header buffer corruption with header-split and HW-GRO<br />
<br />
The DQO RX datapath programs a per-buffer-queue-descriptor<br />
header_buf_addr at post time and reads the split header back at<br />
completion time. Both the post and the read currently index the<br />
header buffer by queue position rather than by the buffer&#39;s identity:<br />
<br />
- post (gve_rx_post_buffers_dqo): header_buf_addr is computed from<br />
bufq->tail<br />
- read (gve_rx_dqo): the header is read from desc_idx (the completion<br />
queue head index)<br />
<br />
This relies on the buffer-queue index and the completion-queue index<br />
being equal for the start of every packet, i.e. on the device consuming<br />
posted buffers and returning completions in the exact same order. That<br />
assumption does not hold once HW-GRO is enabled with multiple<br />
flows: coalesced segments are accepted and completed in an order that<br />
may differ from the order buffers were posted, and segments from<br />
different flows may interleave.<br />
<br />
That results in two problems:<br />
<br />
1. Wrong header slot on read. Because the read offset is derived from<br />
the completion index (desc_idx) while the device wrote the header to<br />
the address programmed for the buffer&#39;s buf_id, the driver can copy<br />
a header belonging to a different packet. This shows up as<br />
throughput drop (about 30% drop and large numbers of TCP<br />
retransmissions) with header-split and HW-GRO both enabled and many<br />
streams.<br />
<br />
2. Header buffer reused while still owned by the device. The driver<br />
advances bufq->head by one per completion and re-posts buffers based<br />
on that. Arrival of N RX completions only guarantees that at least N<br />
RX buffer descriptors have been read by the device. It does not<br />
guarantee that the device has relinquished the ownership of all the<br />
buffers corresponding to those N descriptors. With out-of-order<br />
completions (e.g. the completion for a packet copied into buffer N<br />
arrives before the completion for a packet copied into buffer N-1),<br />
the driver can re-post and overwrite a header buffer that the device<br />
is still going to write into, corrupting the header of a packet<br />
whose completion has not yet been processed.<br />
<br />
Fix both issues by indexing the header buffer by buf_id on both the post<br />
and read paths. Reading from buf_id&#39;s slot is therefore always correct<br />
regardless of completion ordering (fixes problem 1).<br />
<br />
Indexing by buf_id also ties each header slot to the lifetime of its<br />
buffer state. A buffer state is only returned to the free/recycle lists<br />
when its own completion (buf_id) is processed, so its header slot can<br />
only be re-posted after the device is done with it. This makes header<br />
slot reuse safe under out-of-order completions (fixes problem 2).<br />
<br />
Allocate (gve_rx_alloc_hdr_bufs) and free (gve_rx_free_hdr_bufs) the<br />
header buffers based on num_buf_states to match the buf_id indexing.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL


