[RFT 1/4] net/mlx5: fix NULL dereference in Tx queue start

Dariusz Sosnowski dsosnowski at nvidia.com
Thu Feb 26 10:55:59 CET 2026


On Tue, Feb 17, 2026 at 07:04:59AM -0800, Stephen Hemminger wrote:
> mlx5_txq_get() can return NULL for an unconfigured queue index,
> but the result is dereferenced to initialise txq_data before the
> NULL check on the following line.  Move the txq_data assignment
> after the NULL guard.
> 
> Fixes: 6f356d3840e6 ("net/mlx5: pass DevX object info in Tx queue start")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>


More information about the stable mailing list