Article View: linux.kernel.netdev
Article #25570Re: [PATCH net] net/mlx5e: TC, Fix parse_attr leak on branch attr alloc failure
From: patchwork-bot+netdevbpf
Date: Wed, 02 Dec 2026 02:40
Date: Wed, 02 Dec 2026 02:40
26 lines
8814 bytes
8814 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
On Thu, 26 Nov 2026 14:23:16 +0200 you wrote:
> alloc_branch_attr() gets the branch attribute from
> mlx5e_clone_flow_attr_for_post_act(), which also allocates its
> parse_attr. When the branch action cannot be offloaded, the error path
> frees the attribute but not its parse_attr, leaking it.
>
> This happens, for example, when a police action's conform and exceed
> actions are both jumps: the exceed action fails with "Cannot offload
> flows with nested jumps".
>
> [...]
Here is the summary with links:
- [net] net/mlx5e: TC, Fix parse_attr leak on branch attr alloc failure
https://git.kernel.org/netdev/net/c/ce0791c3406e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179617922074.1132066.2716013066990359269.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375498-linux-kernel-netdev=dewy.ruReferences:
<20261126122316.599831-1-tariqt@nvidia.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375498-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net/mlx5e: TC, Fix parse_attr leak on branch attr alloc failure Date: Wed, 02 Dec 2026 02:40:20 +0000 Organization: Usenet Network Message-ID: <179617922074.1132066.2716013066990359269.git-patchwork-notify@kernel.org> References: <20261126122316.599831-1-tariqt@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1870669"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Uv36gn6UsTO3cmKUVBddOpvsNos= sha256:yIcqDrd1HlAND3GvjtDdajdGHiyeug+58saVyy7ZOsk= sha1:L8JBfTpqp00rLdoFVcaVLlkPRBY= sha256:FpLpfM5Shwc/KaaQvtoyuUcek8OfxmrQrExH25D47xQ= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 9D180117530; Wed, 2 Dec 2026 05:42:10 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A_ds3DKa1YvY; Wed, 2 Dec 2026 05:42:07 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-375498-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 30F8E11752D; Wed, 2 Dec 2026 05:41:53 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 4921329D53; Wed, 2 Dec 2026 02:41:24 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796179223; b=n2oA3ozcnSS1xPyieLFgIgzgpy2u9XdDH57Sb/UNBdXQolWv7EC/qGP/4GmA1pPmIym5 kP90kcrUtRbgzgTmKDyzDTelpLVICHAoANVotBqy+1AK9z3Fd1UyMNiJhOI/kyLfa67I7 ABEe5WdIJfiraFuS1L532FCP08K4WAxVk8TDehMOPOq87VIU71lM7lqvWi27ZmXkaYIZA 0hp1RtC6rXelkWm+rtHCsUtPnGfWL5RYz6Kt6vMJ0whp+ZB9VVpNFNCZiaS8TyChkjQWo rsXAEUbNXePlQi18fJ0AmnrvUpVGnfk7cBrFbbtSz8fCGqIyK/bpgogLAleX3EVeiMA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796179223; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=e3HOidtDAlK7lTLzzWZbt32dp7of+k1I/AGoBUbjFwI=; b=bY2I8gIuWAIAW4QCFJHLxEIUN3TwR26/8NKTIhoKb3NANmy5AxSneQuOp2927gMfqFES 96H59R6rMGoH+jE0q/u+S69KL7yvPQLPCs0UHBo6qPZLtOqSk2O2KLhitPMpu/F9Qe+tG tfe90dyqEgSAsirxKzQHTx6ROmJOangP0TemqaYh6W/gFHQ7Mbs7oLW04V993JuTWXizK soryqdtQXyQpMFwBY8AsFH4z/C/WLzHFWi83Th98HHNmjBfoNTsoS2bh9djBgzLtENb62 wiVCcLo2X+TpFklsCHn6TCWlZsOlWdlZ5aQc7h3BvkSleSLyBk/nyPBQMXcIpLgP+Bw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hXYLrdwK; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86A0D606B7CE; Wed, 2 Dec 2026 02:40:23 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hXYLrdwK X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796179222; b=hqO0vH4d97LBB32lXr5Zotwip1R3MRP0TUAK41DR3a6b4zQkPfqmA8/sYQNAPwDJ5URi q1yBPoYIl9M1amG9DBdZF6R03pZJw7h6rQt2EjTdG9rG7TyG2lfc9lHUwY02L2fUZG6JE Iz3KRxjVE9VFrSKhGzAlv9WZytWu5ep1SDOPVwSbiHT8ZYkcirO4xiWU0s6mrsFoeaI7I A3dK7+7eaEmVVTruX4MtlKHTYitjr95ztl8iD81HHySU1inmH8UAEoeSk5Z3eY47Ncn5f VyH0sBWPeyjICK5DEZIVWKcFGqR4MWEe6zt0gltKC5sd27tf549Top9juqy4IQFZYpg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796179222; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=e3HOidtDAlK7lTLzzWZbt32dp7of+k1I/AGoBUbjFwI=; b=rp4jV7bcNvH94xPgSVlNLBEneT2NTCh20ZNC3MWm0O8kJMMwf6fuKIVUSNARwzHLsEb3 SN0h2+27wUNP53beAbRkFe2gIwr6GNOzbnO2coJQwM5A3qUbMDkK0RmSIzZAxY01xVrLs GwBStokfxAjLGC6Jj2x4wCMHdivnsh2fU5YY/1IYFutC8hHOTa3AStVVIycTCm3Lmc/JH rRitgq83mgdOAti8BoNdw9E4nAh52EI2gDHFbfrdo5DY0pzBH/Xj5oXwl80ZSWcXxX6T2 si6BiqjsLxrb5w9RYGvpIwdM6gjDft4fvLlD7+poTYZNiYdoMQlqQne3PHsTL2v9q9g== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=hXYLrdwK; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A83DE606C3F8; Wed, 2 Dec 2026 02:40:22 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D5DD1F008A0; Wed, 2 Dec 2026 02:40:22 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796179222; bh=e3HOidtDAlK7lTLzzWZbt32dp7of+k1I/AGoBUbjFwI=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=hXYLrdwK0Gd/ZpQKdaFDyoPjW8nIwmlasg03vJQV97MPFdEGIKqtbgJvWW7F23StN 0BwS+bd6G9oRekcyFFLD3w4AJdX0SjOX+tJR5KeVz9OAs1wK3vBUA2bxQ1jVed1ntr M1TM9hedERFN1WZNpnqmDIG2BPhlNMljeAqi6TOWqKul95F0YEGUTgFfthzEceLIqf c6WRMXH8j3ryGm572mzrO7xeJ05ks9HU3mTR3o5xYLaqXn/XWMdTozNXM7nyeqKCOI iLqGyK6UU+ov8qQOekaYNgodipS6U7q03xt8o+HilzMRUnL5J3/F2eER14vCGqt7Uv Fbs6JHNRnJlyA== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 345E6380821E; Wed, 2 Dec 2026 02:40:22 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261126122316.599831-1-tariqt@nvidia.com> X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, willemb@google.com, gal@nvidia.com, jianbol@nvidia.com, leon@kernel.org, linux-rdma@vger.kernel.org, mbloch@nvidia.com, ozsh@nvidia.com, roid@nvidia.com, saeedm@nvidia.com