[PATCH] net/ena: fix out-of-bounds Tx prefetch

Stephen Hemminger stephen at networkplumber.org
Mon Nov 23 19:57:27 CET 2026


On Sun, 22 Nov 2026 21:47:23 +0000
Wenyu Su <PriceClaptrap at hotmail.com> wrote:

> The Tx prefetch uses the descriptor ring mask to index the
> caller-provided packet array. This can read beyond the end of
> the array near the end of a burst.
> 
> Only prefetch when the lookahead index is within the burst.
> 
> Fixes: 1173fca25af9 ("ena: add polling-mode driver")
> Cc: stable at dpdk.org
> Signed-off-by: Wenyu Su <priceclaptrap at hotmail.com>
> ---

Looks right, applied to next-net for 27.03


More information about the dev mailing list