patch 'net/bnxt/tf_ulp: fix tunnel list memory corruption' has been queued to stable release 25.11.5
Kishore Padmanabha
kishore.padmanabha at broadcom.com
Thu Dec 3 15:50:48 CET 2026
Please go ahead with the merge.
Thanks,
Kishore
On Thu, Dec 3, 2026 at 8:12 AM Kevin Traynor <ktraynor at redhat.com> wrote:
> Hi,
>
> FYI, your patch has been queued to stable release 25.11.5
>
> Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
> It will be pushed if I get no objections before 12/08/26. So please
> shout if anyone has objections.
>
> Also note that after the patch there's a diff of the upstream commit vs the
> patch applied to the branch. This will indicate if there was any rebasing
> needed to apply to the stable branch. If there were code changes for
> rebasing
> (ie: not only metadata diffs), please double check that the rebase was
> correctly done.
>
> Queued patches are on a temporary branch at:
> https://github.com/kevintraynor/dpdk-stable
>
> This queued commit can be viewed at:
>
> https://github.com/kevintraynor/dpdk-stable/commit/2386376aca2cbd9e8c56f2a295aa77179e1ae6f7
>
> Thanks.
>
> Kevin
>
> ---
> From 2386376aca2cbd9e8c56f2a295aa77179e1ae6f7 Mon Sep 17 00:00:00 2001
> From: Kishore Padmanabha <kishore.padmanabha at broadcom.com>
> Date: Fri, 15 May 2026 12:13:03 -0400
> Subject: [PATCH] net/bnxt/tf_ulp: fix tunnel list memory corruption
>
> [ upstream commit 57c816b0841241de463eb43480ddbc4033c6f352 ]
>
> In ulp_app_tun_search_entry(), when a matching tunnel entry is found
> at index i, the reference count was incremented on
> tun_ent_list[free_entry] instead of tun_ent_list[i]. free_entry is -1
> when no unused slot precedes the match (always the case when the table
> is full), so this wrote before the start of the array; otherwise it
> bumped the count of an unused slot and left the matched entry's count
> unchanged. Use the matching index.
>
> Fixes: bdf4a3c6316b ("net/bnxt: support tunnel offload")
>
> Signed-off-by: Kishore Padmanabha <kishore.padmanabha at broadcom.com>
> Signed-off-by: Manish Kurup <manish.kurup at broadcom.com>
> Signed-off-by: Mohammad Shuab Siddique <
> mohammad-shuab.siddique at broadcom.com>
> ---
> drivers/net/bnxt/tf_ulp/ulp_tun.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/bnxt/tf_ulp/ulp_tun.c
> b/drivers/net/bnxt/tf_ulp/ulp_tun.c
> index b90b4bf252..8ecdac0dcc 100644
> --- a/drivers/net/bnxt/tf_ulp/ulp_tun.c
> +++ b/drivers/net/bnxt/tf_ulp/ulp_tun.c
> @@ -34,5 +34,5 @@ ulp_app_tun_search_entry(struct bnxt_ulp_context
> *ulp_ctx,
> sizeof(struct rte_flow_tunnel))) {
> *tun_entry = &tun_ent_list[i];
> - tun_ent_list[free_entry].ref_cnt++;
> + tun_ent_list[i].ref_cnt++;
> return rc;
> }
> --
> 2.56.1
>
> ---
> Diff of the applied patch vs upstream commit (please double-check if
> non-empty:
> ---
> --- - 2026-12-03 12:52:45.454131190 +0000
> +++ 0218-net-bnxt-tf_ulp-fix-tunnel-list-memory-corruption.patch
> 2026-12-03 12:52:39.189104966 +0000
> @@ -1 +1 @@
> -From 57c816b0841241de463eb43480ddbc4033c6f352 Mon Sep 17 00:00:00 2001
> +From 2386376aca2cbd9e8c56f2a295aa77179e1ae6f7 Mon Sep 17 00:00:00 2001
> @@ -5,0 +6,2 @@
> +[ upstream commit 57c816b0841241de463eb43480ddbc4033c6f352 ]
> +
> @@ -15 +16,0 @@
> -Cc: stable at dpdk.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/stable/attachments/20261203/57c13eeb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5493 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mails.dpdk.org/archives/stable/attachments/20261203/57c13eeb/attachment.bin>
More information about the stable
mailing list