[PATCH v1 1/1] net/ixgbe: fix PF link state request mailbox size

Bruce Richardson bruce.richardson at intel.com
Wed Nov 12 16:51:55 CET 2025


On Mon, Nov 10, 2025 at 01:55:39PM +0000, Anatoly Burakov wrote:
> From: Andrzej Wilczynski <andrzejx.wilczynski at intel.com>
> 
> Currently, when requesting PF link state over VF mailbox, the buffer sized
> 3 dwords is allocated. However, the `ixgbevf_write_msg_read_ack` function
> is actually called with buffer size of 6 dwords. This leaves an admittedly
> remote possibility of buffer overrun. Fix by adjusting requested size to 3.
> 
> Fixes: adbd71030575 ("net/ixgbe/base: fix link status for E610")
> 
> Signed-off-by: Andrzej Wilczynski <andrzejx.wilczynski at intel.com>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>




More information about the dev mailing list